1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/Regression/Verifier/AmbiguousPhi.ll
Chris Lattner e3e59c6e97 New testcases for verifier
llvm-svn: 2763
2002-06-08 17:33:16 +00:00

9 lines
166 B
LLVM

int "test"(int %i, int %j, bool %c) {
br bool %c, label %A, label %A
A:
%a = phi int [%i, %0], [%j, %0] ; Error, different values from same block!
ret int %a
}