repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
template
/
error21.C
blob
a129f1ebc4a23b04feda0f20efa85220463f4334
1
// PR c++/20173
2
3
template<typename AT>
4
struct A{
5
template<typename T>
6
void function(T){}
7
};
8
9
template<>
10
template<typename T>
11
void A<int>::function(T){}
12
13
template<>
14
template<typename T>
15
void A<double>::function(T*){} // { dg-error "match|invalid" }