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