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
/
memtemp64.C
blob
dda0a63b4405c929904a485114848433b53de328
1
// { dg-do assemble }
2
3
template <class T>
4
struct S1 {};
5
6
template <class T>
7
void f(T);
8
9
template <class C>
10
struct S2
11
{
12
template <class T>
13
void f<S1<T> >(T) {} // { dg-error "" } bad specialization.
14
};
15
16
17
template <class T>
18
struct S3
19
{
20
friend class S2<T>;
21
};