repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[AMDGPU] Add True16 register classes.
[llvm-project.git]
/
lldb
/
test
/
API
/
commands
/
expression
/
inline-namespace
/
main.cpp
blob
a960b8cb82fd673392969fcb361255102e3f7dbb
1
namespace
A
{
2
inline
namespace
B
{
3
int
f
() {
return
3
; }
4
int
global_var
=
0
;
5
6
namespace
C
{
7
int
global_var
=
1
;
8
}
9
10
inline
namespace
D
{
11
int
nested_var
=
2
;
12
}
13
};
14
15
namespace
E
{
16
inline
namespace
F
{
17
int
other_var
=
3
;
18
}
19
}
// namespace E
20
21
int
global_var
=
4
;
22
}
23
24
int
main
(
int
argc
,
char
**
argv
) {
25
// Set break point at this line.
26
return
A
::
f
() +
A
::
B
::
global_var
+
A
::
C
::
global_var
+
A
::
E
::
F
::
other_var
+
27
A
::
B
::
D
::
nested_var
;
28
}