Home | History | Annotate | Download | only in Linker
      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
     12