OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix implicit int
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
nest10.C
1
// Build don't link:
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
}