diff options
Diffstat (limited to 'test/Linker/PR8300.ll')
-rw-r--r-- | test/Linker/PR8300.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/Linker/PR8300.ll b/test/Linker/PR8300.ll new file mode 100644 index 0000000..f0fc1e7 --- /dev/null +++ b/test/Linker/PR8300.ll @@ -0,0 +1,13 @@ +; RUN: echo {%foo2 = type \{ \[8 x i8\] \} \ +; RUN: declare void @zed(%foo2*) } > %t.ll +; RUN: llvm-link %t.ll %s -o %t.bc + +%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 +} |