Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
unnamed1.C
blob: f5972f11b6a7cdc5d6780e568bdfc39b2827f640 [
file
] [
log
] [
blame
]
// 9.4.2/4: Unnamed classes and classes contained directly or indirectly
// within unnamed classes shall not contain static data members.
typedef
struct
{
// { dg-message "unnamed" }
static
int
i
;
// { dg-error "static data member" }
}
A
;