summaryrefslogtreecommitdiffstats
path: root/test/Linker/Inputs/PR8300.b.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Linker/Inputs/PR8300.b.ll')
-rw-r--r--test/Linker/Inputs/PR8300.b.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Linker/Inputs/PR8300.b.ll b/test/Linker/Inputs/PR8300.b.ll
new file mode 100644
index 0000000..9e538f5
--- /dev/null
+++ b/test/Linker/Inputs/PR8300.b.ll
@@ -0,0 +1,9 @@
+%foo = type { [8 x i8] }
+%bar = type { [9 x i8] }
+
+@zed = alias bitcast (void (%bar*)* @xyz to void (%foo*)*)
+
+define void @xyz(%bar* %this) {
+entry:
+ ret void
+}
OpenPOWER on IntegriCloud