diff options
Diffstat (limited to 'test/Linker/linkage2.ll')
-rw-r--r-- | test/Linker/linkage2.ll | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/Linker/linkage2.ll b/test/Linker/linkage2.ll new file mode 100644 index 0000000..dbae7ca --- /dev/null +++ b/test/Linker/linkage2.ll @@ -0,0 +1,14 @@ +; RUN: llvm-link %s %p/Inputs/linkage2.ll -S | FileCheck %s +; RUN: llvm-link %p/Inputs/linkage2.ll %s -S | FileCheck %s + +@test1_a = common global i8 0 +; CHECK-DAG: @test1_a = common global i8 0 + +@test2_a = global i8 0 +; CHECK-DAG: @test2_a = global i8 0 + +@test3_a = common global i8 0 +; CHECK-DAG: @test3_a = common global i16 0 + +@test4_a = common global i8 0, align 8 +; CHECK-DAG: @test4_a = common global i16 0, align 8 |