aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/init/new14.C
blob: 5d13da20e71058369b33e238d8cbab5316877ac8 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/23491

struct X
{
  int m;
};

void f(int n)
{
  const X *p = new const X[1] () ;
}