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