mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-04 07:32:13 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6025 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8d8f20e47a
commit
92858ed562
9
test/Feature/varargs.ll
Normal file
9
test/Feature/varargs.ll
Normal file
@ -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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user