2006-12-02 05:23:10 +01:00
|
|
|
; RUN: llvm-upgrade < %s | llvm-as | opt -funcresolve | llvm-dis | grep declare
|
2003-05-31 23:04:39 +02:00
|
|
|
|
|
|
|
declare void %test(...)
|
|
|
|
|
|
|
|
int %callee() {
|
|
|
|
call void(...)* %test(int 5)
|
|
|
|
ret int 2
|
|
|
|
}
|
|
|
|
|
|
|
|
internal void %test(int) {
|
|
|
|
ret void
|
|
|
|
}
|