Sign in
llvm
/
llvm-project
/
c49ef1448d1779385e0e0ea88b1d8343f4830a79
/
.
/
llvm
/
test
/
Verifier
/
inalloca-vararg.ll
blob: de7622b638d88449ecedd8112afab1f98f79e7da [
file
] [
log
] [
blame
]
; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
declare
void
@h
(
i32
,
...
)
define
void
@i
()
{
%args
=
alloca
inalloca
i32
call
void
(
i32
,
...
)
@h
(
i32
1
,
i32
*
inalloca
(
i32
)
%args
,
i32
3
)
; CHECK: inalloca isn't on the last argument!
ret
void
}