summaryrefslogtreecommitdiffstats
path: root/llvm/test/Linker/Inputs/constructor-comdat.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Linker/Inputs/constructor-comdat.ll')
-rw-r--r--llvm/test/Linker/Inputs/constructor-comdat.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/Linker/Inputs/constructor-comdat.ll b/llvm/test/Linker/Inputs/constructor-comdat.ll
new file mode 100644
index 00000000000..b5f23da9035
--- /dev/null
+++ b/llvm/test/Linker/Inputs/constructor-comdat.ll
@@ -0,0 +1,7 @@
+define weak_odr void @_ZN3fooIiEC2Ev() {
+ ret void
+}
+
+define weak_odr void @_ZN3fooIiEC1Ev() {
+ ret void
+}
OpenPOWER on IntegriCloud