blob: a0dab65b4e4f06baaa699370a8b4b15f82884e00 [file] [log] [blame]
Chris Lattner48e989e2002-11-10 03:35:43 +00001; RUN: if as < %s | opt -funcresolve > /dev/null
2; RUN: then echo "opt ok"
3; RUN: else exit 1 # Make sure opt doesn't abort!
4; RUN: fi
5;
Chris Lattner0e609412003-06-19 17:02:06 +00006; RUN: if as < %s | opt -funcresolve -instcombine | dis | grep '\.\.\.'
Chris Lattner48e989e2002-11-10 03:35:43 +00007; RUN: then exit 1
8; RUN: else exit 0
9; RUN: fi
10
11declare int %foo(...)
12declare int %foo(int)
13
14void %bar() {
15 call int(...)* %foo(int 7)
16 ret void
17}