Debian Codegraph @

gcc/testsuite/g++.dg/template/instantiate2.C

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" }