llvm-project/llvm/test/Verifier/2008-03-01-AllocaSized.ll

9 lines
139 B
LLVM
Raw Normal View History

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