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
Merge reload-branch up to revision 101000
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
access9.C
blob
6e60a07bc88461d98116c919466ea37465def4ca
1
// { dg-do assemble }
2
// Test that g++ allows friends to use private types in their declarations.
3
4
class A {
5
typedef int I;
6
friend I f (I);
7
};
8
9
A::I f (A::I);
10
A::I f (A::I) { return 0; }