Chris Lattner | 961b058 | 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 | b6cb66f | 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 | 961b058 | 2003-04-23 18:38:24 +0000 | [diff] [blame] | 7 | |
8 | declare void %foo() |