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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
spec22.C
blob
41aab394d3eecd05ae05777589b1bf34bf6e2d69
1
// { dg-do assemble }
2
3
template <class T>
4
struct S
5
{
6
template <class U>
7
void f();
8
};
9
10
11
template <class T>
12
template <> // { dg-error "enclosing class templates|invalid explicit specialization" }
13
void S<T>::f<int> () // { dg-error "does not match|invalid function declaration" }
14
{
15
}