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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
inject2.C
blob
3437ab15e4823109d1209cbd088c19713f33373c
1
// { dg-do assemble }
2
// { dg-options "-Wno-non-template-friend" }
3
// Origin: Mark Mitchell <mark@codesourcery.com>
4
5
template<int I>
6
class C {
7
friend void f(struct X *);
8
};
9
10
template class C<0>;
11
12
class D {
13
friend void f(struct X*);
14
};
15