blob: 36a062eb28b06bbea0d577e67ee016ccb94d6c75 [file] [log] [blame]
Chris Lattnerb9e71862002-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;
Chris Lattnera6fee9d2003-06-28 23:23:34 +00004; RUN: as < %s | opt -funcresolve -instcombine | dis | grep '\.\.\.' | not grep call
Chris Lattnerb9e71862002-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}