Sign in
gnu
/
gcc
/
1126a05deadda1ef363e0f78fd802c8ee0ea5b56
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
931031-1.c
blob: 761989040f4b81d1a1ecef5aa37d0abf704f0674 [
file
] [
log
] [
blame
]
struct
foo
{
unsigned
y
:
1
;
unsigned
x
:
32
;
};
int
f
(
x
)
struct
foo x
;
{
int
t
=
x
.
x
;
if
(
t
<
0
)
return
1
;
return
t
+
1
;
}
main
()
{
struct
foo x
;
x
.
x
=
-
1
;
if
(
f
(
x
)
==
0
)
abort
();
exit
(
0
);
}