[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / c90-left-shift-2.c
blobf79ab8b71de8e96f251dce734aeb3a55be36db5d
1 /* { dg-do compile } */
2 /* { dg-options "-std=iso9899:1990 -pedantic-errors" } */
4 #define INTM2 (sizeof (int) * __CHAR_BIT__ - 2)
6 enum { A = 10 << INTM2 };
7 int k = 10 << INTM2;
9 void
10 fn (int i)
12 switch (i)
13 case 10 << INTM2: break;