xref: /llvm-project/lldb/test/API/lang/cpp/namespace/ns.h (revision fdea9a4ec9b0d9585b8fe8a612686d9f44f40ddc)
1 #include <cstdio>
2 
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);
func()11 inline int func() {
12   std::printf("A::func()\n");
13   return 3;
14 }
func2()15 inline int func2() {
16   std::printf("A::func2()\n");
17   return 3;
18 }
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
26