| Chris Lattner | 00a2d7e | 2003-04-23 18:38:24 +0000 | [diff] [blame] | 1 | ; This fails because the linker renames the non-opaque type not the opaque |
| 2 | ; one... | ||||
| 3 | |||||
| Misha Brukman | e054439 | 2003-09-15 20:04:28 +0000 | [diff] [blame] | 4 | ; RUN: echo "implementation linkonce void %foo() { ret void } " | llvm-as > %t.2.bc |
| 5 | ; RUN: llvm-as < %s > %t.1.bc | ||||
| 6 | ; RUN: llvm-link %t.[12].bc | llvm-dis | grep foo | grep linkonce | ||||
| Chris Lattner | 00a2d7e | 2003-04-23 18:38:24 +0000 | [diff] [blame] | 7 | |
| 8 | declare void %foo() | ||||