PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / pr81564.c
blob13519991f176254cbc50388e026d06f195506915
1 /* PR middle-end/81564 ICE in group_case_labels_stmt(). */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 struct a {
6 int b;
7 int c;
8 };
10 void
11 foo (void)
13 struct a *e;
14 switch (e->c)
16 case 7:
17 case 3:
18 if (__builtin_expect(!0, 0))
19 __builtin_unreachable();