repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
spec4.C
blob
18116acb52973c9e58a361a10bc5274c1edbb4bd
1
// { dg-do compile }
2
// Origin: Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
3
4
// PR c++/2863
5
// Default function argument and template specialization.
6
7
struct X {
8
template <int dim> void f(int=0);
9
};
10
11
template <> void X::f<1> () {} // { dg-error "(not match|declaration)" }