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