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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
c90-anon-struct-1.c
blob
a3eb7f7e392d78efe5b9508d2c7655fe91d14f8f
1
/* Test for anonymous structures and unions not permitted in C90. */
2
/* { dg-do compile } */
3
/* { dg-options "-std=iso9899:1990 -pedantic-errors" } */
4
5
struct
s
6
{
7
int
a
;
8
struct
9
{
10
int
b
;
11
};
/* { dg-error "unnamed structs" } */
12
};