2003-09-16 17:29:54 +02:00
|
|
|
; RUN: llvm-as < %s | opt -funcresolve
|
2002-07-30 02:34:52 +02:00
|
|
|
|
|
|
|
declare int %read(...)
|
|
|
|
|
2002-07-30 02:49:42 +02:00
|
|
|
long %read() {
|
2002-07-30 02:34:52 +02:00
|
|
|
ret long 0
|
|
|
|
}
|
|
|
|
|
|
|
|
int %testfunc() {
|
|
|
|
%X = call int(...)* %read()
|
|
|
|
ret int %X
|
|
|
|
}
|