repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
instantiate2.C
blob
a6faf17aea11af87c98b78479aad856cb592edab
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" }