1 ; This shows where the function is called with the prototype indicating a
2 ; return type doesn't exists, but it really does.
4 ; RUN: if as < %s | opt -funcresolve > /dev/null
5 ; RUN: then echo "opt ok"
6 ; RUN: else exit 1 # Make sure opt doesn't abort!
9 ; RUN: if as < %s | opt -funcresolve | dis | grep '\.\.\.' | grep call
14 declare void %foo(...)
16 int %foo(int %x, float %y) {
21 call void (...)* %foo(double 12.5, int 48)