summaryrefslogtreecommitdiff
path: root/test/Feature/global_section.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Feature/global_section.ll')
-rw-r--r--test/Feature/global_section.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Feature/global_section.ll b/test/Feature/global_section.ll
index 08a2c323dd..b8f5eb1b66 100644
--- a/test/Feature/global_section.ll
+++ b/test/Feature/global_section.ll
@@ -1,10 +1,10 @@
-; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
+; RUN: llvm-as < %s | llvm-dis > %t1.ll
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
; RUN: diff %t1.ll %t2.ll
-%X = global int 4, section "foo", align 16
+@X = global i32 4, section "foo", align 16 ; <i32*> [#uses=0]
-void %test() section "bar" {
- ret void
+define void @test() section "bar" {
+ ret void
}