blob: 6e60a07bc88461d98116c919466ea37465def4ca (
plain)
1
2
3
4
5
6
7
8
9
10
|
// { dg-do assemble }
// Test that g++ allows friends to use private types in their declarations.
class A {
typedef int I;
friend I f (I);
};
A::I f (A::I);
A::I f (A::I) { return 0; }
|