You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
251 B
10 lines
251 B
4 months ago
|
; 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
|
||
|
}
|