]> granicus.if.org Git - llvm/commitdiff
New testcase
authorChris Lattner <sabre@nondot.org>
Thu, 8 May 2003 02:39:37 +0000 (02:39 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 8 May 2003 02:39:37 +0000 (02:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6025 91177308-0d34-0410-b5e6-96231b3b80d8

test/Feature/varargs.ll [new file with mode: 0644]

diff --git a/test/Feature/varargs.ll b/test/Feature/varargs.ll
new file mode 100644 (file)
index 0000000..13f3581
--- /dev/null
@@ -0,0 +1,9 @@
+
+
+
+int %test(int %X, ...) {
+       %ap = alloca sbyte*
+       ; This is not a legal testcase, it just shows the syntax for va_arg
+       %tmp = va_arg sbyte** %ap, int 
+       ret int %tmp
+}