Sign in
llvm
/
llvm-archive
/
80a0e6b09a6ccb2f8832d59b5fb8d96f9ae994c5
/
.
/
llvm-gcc-4.0
/
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
;
}