repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr34235.C
blob
5f05841c5cd3c899d88ad362c995ff9197c8ffb3
1
/* { dg-do run } */
2
3
extern "C" void abort (void);
4
int main()
5
{
6
short x = -1;
7
unsigned int c = ((unsigned int)x) >> 1;
8
if (c != 0x7fffffff)
9
abort();
10
return 0;
11
}