1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 21:42:54 +02:00
llvm-mirror/test/Verifier/2008-03-01-AllocaSized.ll
Chris Lattner 64e101b2d9 Fix PR2113 by verifying allocations.
llvm-svn: 47792
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
}