repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
Wshift-count-negative-2.c
blob
91c71297db3fbb74c880750aa1eff8abfd7ab760
1
/* { dg-do compile } */
2
/* { dg-options "-Wno-shift-count-negative" } */
3
4
void
foo
()
5
{
6
unsigned
i1
=
1U
<< -
1
;
7
unsigned
i2
=
1U
>> -
1
;
8
}