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