blob: b14b8c4d3c67b8d348c26afb5f20f5b801023e17 [file] [log] [blame]
; 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
}