summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/new6.C
blob: 213837c3a3e9f6bb909bdb837330c2972d564e72 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/52725

struct A { };

const int n = 42;

void f()
{
  A** p = new (A*[n]);
}