☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
instantiate2.C
☽
☼
gcc/testsuite/g++.dg/template/instantiate2.C
code
plain
raw
1
// { dg-do compile }
2
// Origin: Wolfgang Bangerth <
[email protected]
>
3
4
// PR c++/2862
5
// Default function argument and template instantiation.
6
7
template <int dim> void f (int=0) {}
8
template void f<1> (); // { dg-error "not match" }