Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr34235.C
blob: 5f05841c5cd3c899d88ad362c995ff9197c8ffb3 [
file
] [
log
] [
blame
]
/* { dg-do run } */
extern
"C"
void
abort
(
void
);
int
main
()
{
short
x
=
-
1
;
unsigned
int
c
=
((
unsigned
int
)
x
)
>>
1
;
if
(
c
!=
0x7fffffff
)
abort
();
return
0
;
}