blob: 433f5bb79b58a818945524bb41277f99ed3377b1 [file] [log] [blame]
Chris Lattner77ff8fa2002-05-24 21:27:41 +00001; This shows where the function is called with the prototype indicating a
2; return type doesn't exists, but it really does.
3;
Misha Brukmane78760e2003-09-16 15:29:54 +00004; RUN: llvm-as < %s | opt -funcresolve -instcombine | llvm-dis | grep '\.\.\.' | not grep call
Chris Lattner77ff8fa2002-05-24 21:27:41 +00005
6declare void %foo(...)
7
8int %foo(int %x, float %y) {
9 ret int %x
10}
11
12int %bar() {
13 call void (...)* %foo(double 12.5, int 48)
14 ret int 6
15}