forked from OSchip/llvm-project
[LLParser] Add test for phi first class type error (NFC)
This commit is contained in:
parent
5921bc4271
commit
9f6c09de44
|
@ -0,0 +1,12 @@
|
||||||
|
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
|
||||||
|
|
||||||
|
; CHECK: error: phi node must have first class type
|
||||||
|
|
||||||
|
define void @test() {
|
||||||
|
entry:
|
||||||
|
ret void
|
||||||
|
|
||||||
|
bb:
|
||||||
|
%phi = phi void ()
|
||||||
|
ret void
|
||||||
|
}
|
Loading…
Reference in New Issue