blob: 82735245f4886b208938e0a1ddc342722569232e [file] [log] [blame]
// PR c++/14086
struct ClassA
{
ClassA();
};
struct ClassB
{
enum Enum {ClassB}; // { dg-error "" }
ClassA key;
ClassB();
virtual ~ClassB();
};
ClassB::ClassB()
{
}