projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 4.7.2
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
spec22.C
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
}