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
PR c++/54858
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
spec4.C
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)" }