blob: 07ba77884fe6b4de6a8933f02edd383581046d8b [file] [log] [blame]
// { dg-do assemble }
// GROUPS passed nested-classes
int x;
class enclose {
public:
int x; // { dg-message "" }
class inner {
public:
void f (int i) {
x = i;// { dg-error "non-static" } .*
}
};
};