blob: 6895fb557f0d75f9db481a5b6252b06f1048e4fe [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.
Misha Brukmanedf4bab2003-09-16 15:29:54 +00003; RUN: llvm-as < %s | opt -funcresolve -instcombine | llvm-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}