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
Reverted r249005 until PowerPC and AIX issues sorted.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
two-types-6.c
blob
ca3bfa997a7e68926f5d7941b7dc3c2bb40ea5bb
1
/* { dg-do compile } */
2
/* { dg-options "-std=gnu89" } // suppress default -pedantic-errors */
3
4
struct
s
{
5
struct
f
{}
/* dg-warning "does not declare anything" } */
6
struct
g
{}
x
;
/* { dg-error "expected ';', identifier or " } */
7
};