[llvm-commits] CVS: llvm/test/Feature/varargs.ll
Chris Lattner
lattner at cs.uiuc.edu
Wed May 7 21:40:00 PDT 2003
Changes in directory llvm/test/Feature:
varargs.ll added (r1.1)
---
Log message:
New testcase
---
Diffs of the changes:
Index: llvm/test/Feature/varargs.ll
diff -c /dev/null llvm/test/Feature/varargs.ll:1.1
*** /dev/null Wed May 7 21:39:47 2003
--- llvm/test/Feature/varargs.ll Wed May 7 21:39:37 2003
***************
*** 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
+ }
More information about the llvm-commits
mailing list