blob: c388acf552e7165c0560b1b040a064ad0029ef19 [file] [log] [blame]
// 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];
}