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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28500 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Assembler/2006-05-26-VarargsCallEncode.ll b/test/Assembler/2006-05-26-VarargsCallEncode.ll
new file mode 100644
index 0000000..c06de84
--- /dev/null
+++ b/test/Assembler/2006-05-26-VarargsCallEncode.ll
@@ -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
+}