PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / c90-left-shift-3.c
blob43942dd29d1ff693e1dc5fd036ce419c95e472e7
1 /* { dg-do compile } */
2 /* { dg-options "-std=iso9899:1990 -pedantic-errors" } */
4 #define INTM1 (sizeof (int) * __CHAR_BIT__ - 1)
6 enum { A = 1 << INTM1 };
7 int k = 1 << INTM1;
9 void
10 fn (int i)
12 switch (i)
13 case 1 << INTM1: break;