Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
;