// { dg-do assemble }// { dg-options "-Wall -pedantic" }// GROUPS passed qualifiersclassbee{public:intbee::bar;// { dg-error "extra" } there is an extra bee:: here};classfoo{public:intbee::bar;// { dg-error "not derived" } you cannot do thisintme();};