blob: adbce7304871e0f3dc781e8856f396ebcb429e10 [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 exists, but it really doesn't.
Chris Lattnera6fee9d2003-06-28 23:23:34 +00003; RUN: as < %s | opt -funcresolve -instcombine | dis | grep '\.\.\.' | not grep call
Chris Lattnerb9e71862002-05-24 21:27:41 +00004
5declare int %foo(...)
6
7void %foo(int %x, float %y) {
8 ret void
9}
10
11int %bar() {
12 %x = call int(...)* %foo(double 12.5, int 48)
13 ret int %x
14}