llvm-mirror/test/Feature/varargs.ll

10 lines
167 B
LLVM
Raw Normal View History

2003-05-08 02:39:37 +00:00
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
}