namespaces.h 468 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // Header for PCH test namespaces.cpp
  2. namespace N1 {
  3. typedef int t1;
  4. }
  5. namespace N1 {
  6. typedef int t2;
  7. void used_func();
  8. struct used_cls { };
  9. }
  10. namespace N2 {
  11. typedef float t1;
  12. namespace Inner {
  13. typedef int t3;
  14. };
  15. }
  16. namespace {
  17. void anon() { }
  18. class C;
  19. }
  20. namespace N3 {
  21. namespace {
  22. class C;
  23. }
  24. }
  25. namespace Alias1 = N2::Inner;
  26. using namespace N2::Inner;
  27. extern "C" {
  28. void ext();
  29. }
  30. inline namespace N4 {
  31. struct MemberOfN4;
  32. }