John Criswell | 26c7d8b | 2003-09-26 20:20:44 +0000 | [diff] [blame] | 1 | ; 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 Lattner | 2fa6c35 | 2003-08-23 15:53:38 +0000 | [diff] [blame] | 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 Lattner | 6f2ff7e | 2003-08-23 20:30:29 +0000 | [diff] [blame] | 9 | declare void %F(int*) |