OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix PR c++/47398
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
instantiate2.C
1
// { dg-do compile }
2
// Origin: Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
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" }