blob: f3e2cb87fd67f9caae663aa4141172963803c9b8 [file] [log] [blame]
// PR c++/93676 - value-init crash in template.
// { dg-do compile { target c++11 } }
struct P {
int x = 0;
};
template<class T>
struct S {
S() { new P[2][2]; }
};
S<int> s;