llvm/test/Verifier/2008-03-01-AllocaSized.ll
Chris Lattner ab3b77834c Fix PR2113 by verifying allocations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47792 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-01 09:01:57 +00:00

9 lines
142 B
LLVM

; RUN: not llvm-as -f %s -o /dev/null |& grep {Cannot allocate unsized type}
; PR2113
define void @test() {
%A = alloca void()
ret void
}