repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* arm.c (FL_WBUF): Define.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
nest10.C
blob
17db4f0a137a170e7210443c7e9a328d513f66e2
1
// { dg-do assemble }
2
// GROUPS passed nested-classes
3
class A
4
{
5
public:
6
class B
7
{
8
public:
9
int f ();
10
void g (int);
11
private:
12
int b;
13
};
14
};
15
16
int A::B::f ()
17
{
18
int val=b;
19
return val;
20
}
21
22
void A::B::g (int val)
23
{
24
b = val;
25
}
26
27
28
int main ()
29
{
30
}