Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / API / lang / cpp / namespace / ns.h
blobd189751c278cf1f358b48873fa7b1e1c9a1ab6ee
1 #include <cstdio>
3 void test_lookup_at_global_scope();
4 void test_lookup_at_file_scope();
5 void test_lookup_before_using_directive();
6 void test_lookup_after_using_directive();
7 int func(int a);
8 namespace A {
9 int foo();
10 int func(int a);
11 inline int func() {
12 std::printf("A::func()\n");
13 return 3;
15 inline int func2() {
16 std::printf("A::func2()\n");
17 return 3;
19 void test_lookup_at_ns_scope();
20 namespace B {
21 int func();
22 void test_lookup_at_nested_ns_scope();
23 void test_lookup_at_nested_ns_scope_after_using();
24 } // namespace B
25 } // namespace A