llvm-6502/test/Feature/varargs.ll
Chris Lattner 92858ed562 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6025 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-08 02:39:37 +00:00

10 lines
167 B
LLVM

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
}