blob: 51ad19451a2f98a87ddf8a975a5d73a4090ce5c3 [file] [log] [blame]
John Criswell26c7d8b2003-09-26 20:20:44 +00001; RUN: llvm-as < %s > %t.out1.bc
2; RUN: echo "%S = external global { int, opaque* } declare void %F(opaque*)" | llvm-as > %t.out2.bc
3; RUN: llvm-link %t.out[12].bc | llvm-dis | not grep opaque
Chris Lattner2fa6c352003-08-23 15:53:38 +00004
5; After linking this testcase, there should be no opaque types left. The two
6; S's should cause the opaque type to be resolved to 'int'.
7%S = global { int, int* } { int 5, int* null }
8
Chris Lattner6f2ff7e2003-08-23 20:30:29 +00009declare void %F(int*)