diff options
Diffstat (limited to 'test/PCH/Inputs/namespaces.h')
-rw-r--r-- | test/PCH/Inputs/namespaces.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/PCH/Inputs/namespaces.h b/test/PCH/Inputs/namespaces.h index 1bab746..553aadd 100644 --- a/test/PCH/Inputs/namespaces.h +++ b/test/PCH/Inputs/namespaces.h @@ -6,8 +6,35 @@ namespace N1 { namespace N1 { typedef int t2; + + void used_func(); + + struct used_cls { }; } namespace N2 { typedef float t1; + + namespace Inner { + typedef int t3; + }; +} + +namespace { + void anon() { } + class C; +} + +namespace N3 { + namespace { + class C; + } +} + +namespace Alias1 = N2::Inner; + +using namespace N2::Inner; + +extern "C" { + void ext(); } |