1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/Verifier/AmbiguousPhi.ll
2007-01-17 07:59:14 +00:00

11 lines
205 B
LLVM

; RUN: not llvm-as -f %s -o /dev/null
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
}