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

10 lines
158 B
LLVM
Raw Normal View History

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