llvm-6502/test/Transforms/FunctionResolve/basictest.ll
2003-06-28 23:23:34 +00:00

13 lines
227 B
LLVM

; RUN: as < %s | opt -funcresolve -instcombine | dis | grep '\.\.\.' | not grep call
declare int %foo(...)
int %foo(int %x, float %y) {
ret int %x
}
int %bar() {
%x = call int(...)* %foo(double 12.5, int 48)
ret int %x
}