blob: 102f21953ac7f9ce4639ce0c8828604be61f6e10 [file] [log] [blame]
// PR c++/66781
class foo
{
public:
enum foo::bar{}; // { dg-error "does not name an enumeration" }
foo::bar baz;
};