Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
new5.C
blob: b5a9ca282b5fcc2dfbd05f206701bdf23de02861 [
file
] [
log
] [
blame
]
// PR c++/99705
// { dg-do compile { target c++11 } }
template
<
typename
T
>
struct
C
{
C
()
{
f
();
}
~
C
()
{}
static
void
f
()
{}
};
struct
X
{
X
();
int
n
=
10
;
C
<int>
*
p
=
new
C
<int>
[
n
];
};
X
::
X
()
{
}