blob: f3c27f6b09f66d18a225ee521cb862942ff96e53 [file] [log] [blame]
// { dg-do compile { target { ilp32 || lp64 } } }
struct AddIn
{
virtual ~AddIn() {}
virtual void AddInCall()=0;
};
struct Base
{
char b[32*1024*1024]; // Anything bigger than 16mb causes internal compiler error
virtual ~Base() {}
};
struct Deriv : public Base,
public AddIn
{
void AddInCall() {}
};
int main (int argc, char **argv)
{
Deriv deriv;
deriv.AddInCall();
return 0;
}