aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/Inputs/type-unique-opaque.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Linker/Inputs/type-unique-opaque.ll')
-rw-r--r--test/Linker/Inputs/type-unique-opaque.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Linker/Inputs/type-unique-opaque.ll b/test/Linker/Inputs/type-unique-opaque.ll
new file mode 100644
index 0000000..872b601
--- /dev/null
+++ b/test/Linker/Inputs/type-unique-opaque.ll
@@ -0,0 +1,6 @@
+%t = type { i8 }
+%t2 = type { %t*, i16 }
+
+define %t2* @f() {
+ ret %t2* null
+}