blob: 3d8858cf64a248a348d6552bac5d2e4d7c7b9462 [file] [log] [blame]
// { dg-do assemble }
// { dg-options "-Wall -pedantic" }
// GROUPS passed qualifiers
class bee {
public:
int bee::bar; // { dg-error "extra" } there is an extra bee:: here
};
class foo {
public:
int bee::bar; // { dg-error "not derived" } you cannot do this
int me();
};