blob: f64ec3fd77e42f155033f5267b578a2408328b77 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: not llvm-as -f %s -o /dev/null
2
3
4
5int "test"(int %i, int %j, bool %c) {
6 br bool %c, label %A, label %A
7A:
8 %a = phi int [%i, %0], [%j, %0] ; Error, different values from same block!
9 ret int %a
10}