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
[Flang][Parser] Add missing #include "flang/Common/idioms.h" (#77484)
[llvm-project.git]
/
clang-tools-extra
/
test
/
clang-move
/
Inputs
/
multiple_class_test.cpp
blob
5eb4bf317584c38ee7d054de376a7d944d4efb11
1
#include
"multiple_class_test.h"
2
3
using
a
::
Move1
;
4
using namespace
a
;
5
using
A
=
a
::
Move1
;
6
static int
g
=
0
;
7
8
namespace
a
{
9
int
Move1
::
f
() {
10
return
0
;
11
}
12
}
// namespace a
13
14
namespace
{
15
using
a
::
Move1
;
16
using namespace
a
;
17
static int
k
=
0
;
18
}
// namespace
19
20
namespace
b
{
21
using
a
::
Move1
;
22
using namespace
a
;
23
using
T
=
a
::
Move1
;
24
int
Move2
::
f
() {
25
return
0
;
26
}
27
}
// namespace b
28
29
namespace
c
{
30
int
Move3
::
f
() {
31
using
a
::
Move1
;
32
using namespace
b
;
33
return
0
;
34
}
35
36
int
Move4
::
f
() {
37
return
k
;
38
}
39
40
int
EnclosingMove5
::
a
=
1
;
41
42
int
EnclosingMove5
::
Nested
::
f
() {
43
return
g
;
44
}
45
46
int
EnclosingMove5
::
Nested
::
b
=
1
;
47
48
int
NoMove
::
f
() {
49
static int
F
=
0
;
50
return
g
;
51
}
52
}
// namespace c