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
2017-11-15 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
two-types-6.c
blob
1c55549162c2e67e019a80f683d03ce947a434d0
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
};