// PR c++/85847 // { dg-do compile { target c++11 } } template int f(int b) { return b; } template void g() { auto a = new int[f(2), 2]; }