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
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
friend32.C
blob
512a69a09a442e59eb6b73d4e5ba529477c67e94
1
// { dg-do assemble }
2
3
template <class T, class U>
4
struct S {
5
template <class X, class Y, class Z>
6
friend X f(X, Y, Z);
7
};
8
9
template class S<int, double>;
10
template char f(char, long, short);
11
template char* f(char*, long*, short*);
12
13
template <class X, class Y, class Z>
14
X f(X x, Y, Z) {
15
return x;
16
}