blob: 4eab96330b8673f7e665115c38c6684d74293b2a [file] [log] [blame]
Chris Lattner2fa6c352003-08-23 15:53:38 +00001; RUN: as < %s > Output/%s.out1.bc
Chris Lattner6f2ff7e2003-08-23 20:30:29 +00002; RUN: echo "%S = external global { int, opaque* } declare void %F(opaque*)" | as > Output/%s.out2.bc
Chris Lattner2fa6c352003-08-23 15:53:38 +00003; RUN: link Output/%s.out[12].bc | dis | not grep opaque
4
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*)