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
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
spec28.C
blob
3cecaf79de950f02ec316d39df5766e201a0eeb1
1
// { dg-do assemble }
2
3
template <class T>
4
bool f(T);
5
6
template <class T>
7
struct S1 {
8
typedef T X;
9
friend bool f<>(const S1&);
10
};
11
12
template <class T>
13
struct S2 {
14
};
15
16
template <class T>
17
struct S2<S1<T> > {
18
typedef typename S1<T>::X Y;
19
};
20
21
template <class T>
22
typename S2<S1<T> >::Y
23
f(const S1<T>&);
24
25
template struct S1<int>;