2 /* { dg-do compile } */
3 /* { dg-options "-Wduplicated-branches" } */
14 if (i
== 1) /* { dg-warning "this condition has identical branches" } */
19 if (i
== 2) /* { dg-bogus "this condition has identical branches" "" { xfail *-*-* } } */
24 if (i
== 3) /* { dg-bogus "this condition has identical branches" "" { xfail *-*-* } } */
29 if (i
== 4) /* { dg-warning "this condition has identical branches" } */
34 if (i
== 5) /* { dg-warning "this condition has identical branches" } */
39 if (i
== 6) /* { dg-bogus "this condition has identical branches" "" { xfail *-*-* } } */
44 if (i
== 7) /* { dg-bogus "this condition has identical branches" "" { xfail *-*-* } } */
49 if (i
== 8) /* { dg-warning "this condition has identical branches" } */
54 if (i
== 10) /* { dg-bogus "this condition has identical branches" "" { xfail *-*-* } } */
59 if (i
== 11) /* { dg-bogus "this condition has identical branches" "" { xfail *-*-* } } */
64 if (i
== 12) /* { dg-bogus "this condition has identical branches" "" { xfail *-*-* } } */
69 if (i
== 12) /* { dg-bogus "this condition has identical branches" "" { xfail *-*-* } } */