* ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch
[official-gcc.git] / gcc / testsuite / c-c++-common / pr65556.c
blob8629a48fdceedf63eff26085d96c05362dfd025c
1 /* PR c++/65556 */
2 /* { dg-do compile } */
4 struct S
6 long l: 1;
7 long l2: 21;
8 unsigned long ul: 1;
9 unsigned long ul2: 21;
10 } s;
12 void
13 fn ()
15 switch (s.l)
16 case 0:;
17 switch (s.ul)
18 case 0:;
19 switch (s.l2)
20 case 0:;
21 switch (s.ul2)
22 case 0:;