summaryrefslogtreecommitdiffstats
path: root/llvm/test/Linker/Inputs/comdat13.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Linker/Inputs/comdat13.ll')
-rw-r--r--llvm/test/Linker/Inputs/comdat13.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/Linker/Inputs/comdat13.ll b/llvm/test/Linker/Inputs/comdat13.ll
new file mode 100644
index 00000000000..a2d16bd261b
--- /dev/null
+++ b/llvm/test/Linker/Inputs/comdat13.ll
@@ -0,0 +1,9 @@
+$foo = comdat any
+@foo = global i8 1, comdat
+define void @zed() {
+ call void @bar()
+ ret void
+}
+define internal void @bar() comdat($foo) {
+ ret void
+}
OpenPOWER on IntegriCloud