repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
930630-1.c
blob
38ad1fdfd7ba8e9c2ad07143839243a7910dbde3
1
/* The bit-field below would have a problem if __INT_MAX__ is too
2
small. */
3
#if __INT_MAX__ < 2147483647
4
int
5
main
(
void
)
6
{
7
exit
(
0
);
8
}
9
#else
10
main
()
11
{
12
struct
13
{
14
signed int
bf0
:
17
;
15
signed int
bf1
:
7
;
16
}
bf
;
17
18
bf
.
bf1
=
7
;
19
f
(
bf
.
bf1
);
20
exit
(
0
);
21
}
22
23
f
(
x
)
24
int
x
;
25
{
26
if
(
x
!=
7
)
27
abort
();
28
}
29
#endif