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