Debian Codegraph @

gcc/testsuite/g++.dg/template/dependent-name1.C

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