brintos

brintos / llvm-project-archived public Read only

0
0
Text · 255 B · ce814f0 Raw
10 lines · plain
1; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s2 3declare void @h(i32, ...)4define void @i() {5  %args = alloca inalloca i326  call void (i32, ...) @h(i32 1, ptr inalloca(i32) %args, i32 3)7; CHECK: inalloca isn't on the last argument!8  ret void9}10