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 ()
{
}