blob: 12b9a5f468c549ed24232132d685371e217b56fb [file] [log] [blame]
// { dg-do assemble }
// GROUPS passed enums
class foo {
public:
enum bar { baz = 1, bat = 7 };
};
class derv : public foo { };
int main()
{
foo::bar x = foo::baz;
derv::bar y = derv::bat;
}