Sign in
gnu
/
gcc
/
57ea00136418991e847e46a6946a81a1df70c9a4
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
access9.C
blob: 6e60a07bc88461d98116c919466ea37465def4ca [
file
] [
log
] [
blame
]
// { 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
;
}