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
* gcc.dg/ucnid-[23456].c: XFAIL on AIX.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
bitfld-7.c
blob
70004ffd8cba188577dc497504ab3681b39ea89f
1
/* Test for rejection of typeof on bit-fields. PR c/10333. */
2
/* Origin: Joseph Myers <jsm@polyomino.org.uk> */
3
/* { dg-do compile } */
4
/* { dg-options "" } */
5
6
struct
{
int
a
:
1
; }
x
;
7
8
typeof
(
x
.
a
)
z
;
/* { dg-error "applied to a bit-field" "typeof" } */