]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Linker/2003-01-30-LinkerTypeRename.ll
Vendor import of llvm trunk r351319 (just before the release_80 branch
[FreeBSD/FreeBSD.git] / test / Linker / 2003-01-30-LinkerTypeRename.ll
1 ; This fails because the linker renames the non-opaque type not the opaque
2 ; one...
3
4 ; RUN: echo "%%Ty = type opaque @GV = external global %%Ty*" | llvm-as > %t.1.bc
5 ; RUN: llvm-as < %s > %t.2.bc
6 ; RUN: llvm-link %t.1.bc %t.2.bc -S | FileCheck %s
7 ; CHECK: = global %Ty
8
9 %Ty = type {i32}
10
11 @GV = global %Ty* null