Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/nsdmi-template19.C

raw
1 // PR c++/93676 - value-init crash in template.
2 // { dg-do compile { target c++11 } }
3
4 struct P {
5 int x = 0;
6 };
7
8 template<class T>
9 struct S {
10 S() { new P[2][2]; }
11 };
12
13 S<int> s;