repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2008-01-25 Douglas Gregor <doug.gregor@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
bitfld-5.c
blob
835bbce3233e5ee93b4679be5f5d0e48c2f340c6
1
/* { dg-options "" } */
2
#include <limits.h>
3
4
struct
s
5
{
6
int
i1
:
sizeof
(
int
) *
CHAR_BIT
;
7
int
i2
:
sizeof
(
int
) *
CHAR_BIT
;
8
int
i3
:
sizeof
(
int
) *
CHAR_BIT
;
9
int
i4
:
sizeof
(
int
) *
CHAR_BIT
;
10
};
11
12
int
f
[
sizeof
(
struct
s
) !=
sizeof
(
int
) *
4
? -
1
:
1
];