☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-template19.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/nsdmi-template19.C
code
plain
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;