repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix "maint print" error messages
[binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.cp
/
shadow.cc
blob
4c9fb12a7bbe95a89c3b7df2cb2782fabeec462a
1
namespace
A
2
{
3
int
x
=
11
;
4
}
5
6
int
x
=
22
;
7
int
y
=
0
;
8
9
class
B
10
{
11
public
:
12
int
x
;
13
14
int
15
func
()
16
{
17
x
=
33
;
18
y
++;
// marker1
19
20
{
21
int
x
=
44
;
22
y
++;
// marker2
23
24
{
25
int
x
=
55
;
26
y
++;
// marker3
27
28
{
29
using namespace
A
;
30
y
++;
// marker4
31
32
{
33
using
A
::
x
;
34
y
++;
// marker5
35
}
36
}
37
}
38
}
39
return
0
;
40
}
41
};
42
43
int
44
main
()
45
{
46
B theB
;
47
return
theB
.
func
();
48
}