Files
clang-p2996/llvm/test/Regression/Transforms/FunctionResolve/basictest.ll
Chris Lattner b9e7186ade Testcases to show what -funcresolve does.
llvm-svn: 2744
2002-05-24 21:27:41 +00:00

16 lines
261 B
LLVM

; RUN: if as < %s | opt -funcresolve | dis | grep '\.\.\.' | grep call
; RUN: then exit 1
; RUN: else exit 0
; RUN: fi
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
}