| 1 |
// 9.4.2/4: Unnamed classes and classes contained directly or indirectly |
| 2 |
// within unnamed classes shall not contain static data members. |
| 3 |
|
| 4 |
typedef struct { // { dg-message "unnamed" } |
| 5 |
static int i; // { dg-error "static data member" } |
| 6 |
} A; |