Fix broken MinGW build of gcc.c
[official-gcc.git] / gcc / testsuite / c-c++-common / Wduplicated-branches-13.c
bloba2ab88706250877f52f2e2a47624d7ef8a073fa0
1 /* PR c/79199 */
2 /* { dg-do compile { target int32plus } } */
3 /* { dg-options "-Wduplicated-branches" } */
5 unsigned int a, b, c, d, e;
6 void
7 fn1 (void)
9 if (0) /* { dg-warning "this condition has identical branches" } */
11 if (d > 4294967293U)
12 (void) 5;
13 c = d;
14 b = e | a;
16 else
18 if (d > 4294967293U)
19 (void) 5;
20 c = d;
21 b = e | a;