// { dg-do compile } // Origin: Wolfgang Bangerth // PR c++/10347: Dependent type checking of array new expression void bar (int *); template void foo() { bar(new int[1]); }