Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
bf-sign-1.c
blob: 3cc3eac15fdf8e8080e3075533a352df7fd76f4c [
file
] [
log
] [
blame
]
main
()
{
struct
{
signed
int
s
:
3
;
unsigned
int
u
:
3
;
int
i
:
3
;
}
x
=
{-
1
,
-
1
,
-
1
};
if
(
x
.
u
!=
7
)
abort
();
if
(
x
.
s
!=
-
1
)
abort
();
if
(
x
.
i
!=
-
1
&&
x
.
i
!=
7
)
abort
();
exit
(
0
);
}