OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
access9.C
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; }