☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
dependent-name1.C
☽
☼
gcc/testsuite/g++.dg/template/dependent-name1.C
code
plain
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
}