2006-12-02 04:23:10 +00:00
|
|
|
; RUN: llvm-upgrade < %s | llvm-as | opt -funcresolve
|
2002-07-30 00:34:52 +00:00
|
|
|
|
|
|
|
declare int %read(...)
|
|
|
|
|
2002-07-30 00:49:42 +00:00
|
|
|
long %read() {
|
2002-07-30 00:34:52 +00:00
|
|
|
ret long 0
|
|
|
|
}
|
|
|
|
|
|
|
|
int %testfunc() {
|
|
|
|
%X = call int(...)* %read()
|
|
|
|
ret int %X
|
|
|
|
}
|