brintos

brintos / llvm-project-archived public Read only

0
0
Text · 545 B · d189751 Raw
26 lines · c
1#include <cstdio>2 3void test_lookup_at_global_scope();4void test_lookup_at_file_scope();5void test_lookup_before_using_directive();6void test_lookup_after_using_directive();7int func(int a);8namespace A {9int foo();10int func(int a);11inline int func() {12  std::printf("A::func()\n");13  return 3;14}15inline int func2() {16  std::printf("A::func2()\n");17  return 3;18}19void test_lookup_at_ns_scope();20namespace B {21int func();22void test_lookup_at_nested_ns_scope();23void test_lookup_at_nested_ns_scope_after_using();24} // namespace B25} // namespace A26