aboutsummaryrefslogtreecommitdiff
path: root/test/Verifier/2008-03-01-AllocaSized.ll
blob: fc12a96e4f9f7f5a431169a6af2aee8e4db9ce46 (plain)
1
2
3
4
5
6
7
8
9
; 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
}