llvm-6502/test/Assembler/alloca-invalid-type-2.ll

10 lines
140 B
LLVM
Raw Normal View History

; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; CHECK: invalid type for alloca
define void @test() {
entry:
alloca i32 (i32)
ret void
}