blob: f79ab8b71de8e96f251dce734aeb3a55be36db5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1990 -pedantic-errors" } */
#define INTM2 (sizeof (int) * __CHAR_BIT__ - 2)
enum { A = 10 << INTM2 };
int k = 10 << INTM2;
void
fn (int i)
{
switch (i)
case 10 << INTM2: break;
}
|