commit | 92858ed562de5117c3c42a7c3b2993abe43e75e8 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu May 08 02:39:37 2003 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu May 08 02:39:37 2003 +0000 |
tree | bee770f613dab5271b59a419a8fe2d23baf0b2cd | |
parent | 8d8f20e47a7aaf75863d71d729283a60fce5c810 [diff] [blame] |
New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6025 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Feature/varargs.ll b/test/Feature/varargs.ll new file mode 100644 index 0000000..13f3581 --- /dev/null +++ b/test/Feature/varargs.ll
@@ -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 +}