summaryrefslogtreecommitdiffstats
path: root/test/Linker/comdat10.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Linker/comdat10.ll')
-rw-r--r--test/Linker/comdat10.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Linker/comdat10.ll b/test/Linker/comdat10.ll
new file mode 100644
index 0000000..8a32c42
--- /dev/null
+++ b/test/Linker/comdat10.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-link %s /dev/null -S -o - | FileCheck %s
+
+$c = comdat largest
+
+; CHECK: @c = global i32 0, comdat
+@c = global i32 0, comdat
OpenPOWER on IntegriCloud