Sign in
gnu
/
gcc
/
8199f0c9707c548bbe166f492c8264516068d452
/
.
/
gcc
/
testsuite
/
gcc.dg
/
c90-left-shift-3.c
blob: 43942dd29d1ff693e1dc5fd036ce419c95e472e7 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1990 -pedantic-errors" } */
#define
INTM1
(
sizeof
(
int
)
*
__CHAR_BIT__
-
1
)
enum
{
A
=
1
<<
INTM1
};
int
k
=
1
<<
INTM1
;
void
fn
(
int
i
)
{
switch
(
i
)
case
1
<<
INTM1
:
break
;
}