13 lines · plain
1; RUN: not %clang %s 2>&1 | FileCheck %s2; RUN: llvm-as -disable-verify < %s > %t.bc3; RUN: not %clang %t.bc 2>&1 | FileCheck %s4 5; CHECK: error: invalid LLVM IR input: PHINode should have one entry for each predecessor of its parent basic block!6; CHECK-NEXT: %phi = phi i32 [ 0, %entry ]7 8define void @test() {9entry:10 %phi = phi i32 [ 0, %entry ]11 ret void12}13