aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/Inputs/pr22807-2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Linker/Inputs/pr22807-2.ll')
-rw-r--r--test/Linker/Inputs/pr22807-2.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Linker/Inputs/pr22807-2.ll b/test/Linker/Inputs/pr22807-2.ll
new file mode 100644
index 0000000..7739b77
--- /dev/null
+++ b/test/Linker/Inputs/pr22807-2.ll
@@ -0,0 +1,6 @@
+%struct.A = type { %struct.B* }
+%struct.B = type opaque
+
+define i32 @bar(%struct.A* %A) {
+ ret i32 0
+}