Files
llvm-6502/test/Assembler/alloca-invalid-type.ll
David Majnemer b3dd3c7ac3 AsmParser: Reject alloca with function type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229363 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-16 08:38:03 +00:00

10 lines
147 B
LLVM

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