Sign in
gnu
/
gcc.git
/
ab7c7b46c35ed1be68d4c020a2f20ee96f68b64b
/
.
/
gcc
/
testsuite
/
gcc.dg
/
two-types-6.c
blob: ca3bfa997a7e68926f5d7941b7dc3c2bb40ea5bb [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-std=gnu89" } // suppress default -pedantic-errors */
struct
s
{
struct
f
{}
/* dg-warning "does not declare anything" } */
struct
g
{}
x
;
/* { dg-error "expected ';', identifier or " } */
};