repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bumping cvs version number
[llvm-complete.git]
/
test
/
Linker
/
2003-08-28-TypeResolvesGlobal3.ll
blob
5a52f9c1af5713130386917d850df20a3c040e2c
1
; RUN: llvm-upgrade < %s | llvm-as > %t.out1.bc
2
; RUN: echo "%S = type int" | llvm-upgrade | llvm-as > %t.out2.bc
3
; RUN: llvm-link %t.out2.bc %t.out1.bc
4
5
%S = type opaque
6
7
; GLobal using the resolved function prototype
8
global void(%S*)* %foo
9
10
void %foo(int* %V) {
11
ret void
12
}
13
14
declare void %foo(%S*)
15