summaryrefslogtreecommitdiffstats
path: root/test/Linker/Inputs/type-unique-unrelated3.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Linker/Inputs/type-unique-unrelated3.ll')
-rw-r--r--test/Linker/Inputs/type-unique-unrelated3.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Linker/Inputs/type-unique-unrelated3.ll b/test/Linker/Inputs/type-unique-unrelated3.ll
new file mode 100644
index 0000000..e3f2dd9
--- /dev/null
+++ b/test/Linker/Inputs/type-unique-unrelated3.ll
@@ -0,0 +1,7 @@
+%t = type { i8* }
+declare %t @f()
+
+define %t @g() {
+ %x = call %t @f()
+ ret %t %x
+}