blob: 288daf1cba1c3b15adf68a17d62c6e9ba4bc7965 [file] [log] [blame]
Chris Lattner233bfb22003-01-30 20:03:15 +00001; This fails because the linker renames the non-opaque type not the opaque
2; one...
3
Reid Spenceredca80b2007-04-15 18:11:57 +00004; RUN: echo {%Ty = type opaque @GV = external global %Ty*} | llvm-as > %t.1.bc
Misha Brukmanb6cb66f2003-09-15 20:04:28 +00005; RUN: llvm-as < %s > %t.2.bc
Reid Spenceredca80b2007-04-15 18:11:57 +00006; RUN: llvm-link %t.1.bc %t.2.bc | llvm-dis | grep {%Ty } | not grep opaque
Chris Lattner233bfb22003-01-30 20:03:15 +00007
Reid Spenceredca80b2007-04-15 18:11:57 +00008%Ty = type i32
Chris Lattner233bfb22003-01-30 20:03:15 +00009