diff options
Diffstat (limited to 'test/Linker/comdat9.ll')
-rw-r--r-- | test/Linker/comdat9.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Linker/comdat9.ll b/test/Linker/comdat9.ll new file mode 100644 index 0000000..eada8c6 --- /dev/null +++ b/test/Linker/comdat9.ll @@ -0,0 +1,7 @@ +; RUN: llvm-link %s %p/Inputs/comdat9.ll -S -o - | FileCheck %s + +; CHECK: $c = comdat any +; CHECK: @a = alias void ()* @f +; CHECK: define internal void @f() comdat $c { +; CHECK: ret void +; CHECK: } |