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
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
ASTMerge
/
namespace
/
Inputs
/
namespace1.cpp
blob
4a539523aaec2926e308f308c60576ee861e4dd1
1
// Merge success
2
namespace
N1
{
3
int
x
;
4
}
5
6
// Merge multiple namespaces
7
namespace
N2
{
8
extern
int
x
;
9
}
10
namespace
N2
{
11
extern
float
y
;
12
}
13
14
// Merge namespace with conflict
15
namespace
N3
{
16
extern
float
z
;
17
}
18
19
namespace
AliasWithSameName
=
N3
;
20
21
namespace
TestUnresolvedTypenameAndValueDecls
{
22
template
<
class
T
>
class
Base
{
23
public
:
24
typedef
T foo
;
25
void
bar
();
26
};
27
}