Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
;