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
x86: Tune Skylake, Cannonlake and Icelake as Haswell
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
friend43.C
blob
5a62efb6c5e3aeb993f51dd5397a3e5c000cf094
1
// { dg-do assemble }
2
// Origin: Matt Austern <austern@isolde.engr.sgi.com>
3
4
class A {
5
public:
6
static void f();
7
};
8
9
template <class T>
10
class B : public A {
11
friend void A::f();
12
};
13
14
template <class T>
15
class C : public B<T>
16
{
17
};
18
19
template class C<char>;