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