Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-template19.C
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
;