(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
new3.C
// PR c++/85847
// { dg-do compile { target c++11 } }

template <class>
int f(int b) { return b; }

template <class>
void g()
{
  auto a = new int[f<int>(2), 2];
}