For PR780:
[oota-llvm.git] / test / Verifier / AmbiguousPhi.ll
1 ; RUN: not llvm-as -f %s -o /dev/null
2
3
4
5 int "test"(int %i, int %j, bool %c) {
6         br bool %c, label %A, label %A
7 A:
8         %a = phi int [%i, %0], [%j, %0]  ; Error, different values from same block!
9         ret int %a
10 }