Sign in
cobalt
/
cobalt
/
cde3442a440acd4a8f18a44377f1db36e384db7e
/
.
/
src
/
third_party
/
llvm-project
/
llvm
/
test
/
Verifier
/
inalloca-vararg.ll
blob: 428f89ec88f10238279b14dc0a45d88ebb8cd933 [
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
%args
,
i32
3
)
; CHECK: inalloca isn't on the last argument!
ret
void
}