mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
efe6c99b52
This reverts commit 07e46367baeca96d84b03fa215b41775f69d5989.
10 lines
256 B
LLVM
10 lines
256 B
LLVM
; 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
|
|
}
|