Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
c-c++-common
/
Wshift-count-negative-2.c
blob: 91c71297db3fbb74c880750aa1eff8abfd7ab760 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-Wno-shift-count-negative" } */
void
foo
()
{
unsigned
i1
=
1U
<<
-
1
;
unsigned
i2
=
1U
>>
-
1
;
}