diff options
Diffstat (limited to 'test/CodeGen/XCore/linkage.ll')
-rw-r--r-- | test/CodeGen/XCore/linkage.ll | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CodeGen/XCore/linkage.ll b/test/CodeGen/XCore/linkage.ll index 7a1179b..7384fe7 100644 --- a/test/CodeGen/XCore/linkage.ll +++ b/test/CodeGen/XCore/linkage.ll @@ -25,9 +25,21 @@ define protected void @test_protected() { ; CHECK: .weak array @array = weak global [2 x i32] zeroinitializer +; CHECK: .globl ac.globound +; CHECK: ac.globound = 2 +; CHECK: .weak ac.globound +; CHECK: .globl ac +; CHECK: .weak ac +@ac = common global [2 x i32] zeroinitializer + +; CHECK: .globl gd ; CHECK: .weak gd @gd = weak global i32 0 +; CHECK: .globl gc +; CHECK: .weak gc +@gc = common global i32 0 + ; CHECK-NOT: .hidden test_hidden_declaration ; CHECK: .weak gr |