Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
array9.C
blob: ce9fb649d3a22d35ae6cc823ee3bc2a6f8643f0f [
file
] [
log
] [
blame
]
// PR c++/18429
int
subtrees
=
4
;
template
<
class
T
>
struct
Tree
{
Tree
*
L
[
subtrees
];
// { dg-error "" }
Tree
*
R
[
subtrees
];
// { dg-error "" }
~
Tree
()
{
delete
[]
L
[
0
];
delete
[]
R
[
0
];
}
};
void
f
()
{
Tree
<int>
t
;
}