diff options
Diffstat (limited to 'test/Linker/ctors2.ll')
| -rw-r--r-- | test/Linker/ctors2.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Linker/ctors2.ll b/test/Linker/ctors2.ll new file mode 100644 index 0000000000000..9b7a70eb7cd1c --- /dev/null +++ b/test/Linker/ctors2.ll @@ -0,0 +1,7 @@ +; RUN: llvm-link -S %s %p/Inputs/ctors2.ll -o - | FileCheck %s + +$foo = comdat any +@foo = global i8 0, comdat + +; CHECK: @foo = global i8 0, comdat +; CHECK: @llvm.global_ctors = appending global [0 x { i32, void ()*, i8* }] zeroinitializer |
