New testcase, check that the bc file correctly encodes varargs nonccc calls.

llvm-svn: 28500
This commit is contained in:
Chris Lattner 2006-05-26 18:41:26 +00:00
parent a01e799927
commit 49e7f56e7f
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
; RUN: llvm-as < %s | llvm-dis | grep 'tail call csretcc'
declare csretcc void %foo({}*, ...)
void %bar() {
tail call csretcc void({}*, ...)* %foo({}* null, int 0)
ret void
}