aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/2003-01-30-LinkerRename.ll
blob: 3cf8f7855350c36e0031f1e9359b639ba7ea2737 (plain)
1
2
3
4
5
6
7
8
9
10
; This fails because the linker renames the external symbol not the internal 
; one...

; RUN: echo "implementation internal int %foo() { ret int 7 }" | as > %t.1.bc
; RUN: as < %s > %t.2.bc
; RUN: link %t.[12].bc | dis | grep '%foo()' | grep -v internal

implementation
int %foo() { ret int 0 }