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