Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
nest10.C
blob: 17db4f0a137a170e7210443c7e9a328d513f66e2 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// GROUPS passed nested-classes
class
A
{
public
:
class
B
{
public
:
int
f
();
void
g
(
int
);
private
:
int
b
;
};
};
int
A
::
B
::
f
()
{
int
val
=
b
;
return
val
;
}
void
A
::
B
::
g
(
int
val
)
{
b
=
val
;
}
int
main
()
{
}