1 2 3 4 5 6 7 8 9 10 11
// { dg-do compile } // Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu> // PR c++/10347: Dependent type checking of array new expression void bar (int *); template <int> void foo() { bar(new int[1]); }