Files
llvm-6502/test/Verifier/2008-03-01-AllocaSized.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
153 B
LLVM

; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
; CHECK: invalid type for alloca
; PR2113
define void @test() {
%A = alloca void()
ret void
}