* ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch
[official-gcc.git] / gcc / testsuite / c-c++-common / pr71654.c
blob2942493af67793ef513df5766b6f6494d6894b21
1 /* PR middle-end/71654 */
2 /* { dg-do link } */
3 /* { dg-options "-O2" } */
5 unsigned char i0, i1;
7 void foo (void);
9 int
10 main (void)
12 int j = i0;
13 if (j < 4)
15 if (i0 & 4)
16 foo ();
19 unsigned int k = i1;
20 if (k < 8)
22 if (i1 & 8)
23 foo ();
26 return 0;