[mlir][PDLL] Allow (and ignore) `-D` tablegen macros. (#124166)
[llvm-project.git] / lldb / test / API / lang / cpp / nsimport / main.cpp
blobe125ebaa2430aa127e77c128636eef29202b173c
1 namespace N
3 int n;
6 namespace
8 int anon;
11 namespace Nested
13 namespace
15 int nested;
19 namespace Global
21 int global;
24 namespace Fun
26 int fun_var;
27 int fun()
29 fun_var = 5;
30 return 0; // break 1
34 namespace Single
36 int single = 3;
39 namespace NotImportedBefore
41 int not_imported = 45;
44 using namespace Global;
46 int not_imported = 35;
47 int fun_var = 9;
49 namespace NotImportedAfter
51 int not_imported = 55;
54 namespace Imported
56 int imported = 99;
59 int imported = 89;
61 int main()
63 using namespace N;
64 using namespace Nested;
65 using namespace Imported;
66 using Single::single;
67 n = 1;
68 anon = 2;
69 nested = 3;
70 global = 4;
71 return Fun::fun(); // break 0