diff options
Diffstat (limited to 'test/Lexer/has_feature_cxx0x.cpp')
-rw-r--r-- | test/Lexer/has_feature_cxx0x.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Lexer/has_feature_cxx0x.cpp b/test/Lexer/has_feature_cxx0x.cpp index 650e577..cc2ae28 100644 --- a/test/Lexer/has_feature_cxx0x.cpp +++ b/test/Lexer/has_feature_cxx0x.cpp @@ -99,3 +99,13 @@ int no_variadic_templates(); // CHECK-0X: no_variadic_templates // CHECK-NO-0X: no_variadic_templates + + +#if __has_feature(cxx_inline_namespaces) +int inline_namespaces(); +#else +int no_inline_namespaces(); +#endif + +// CHECK-0X: inline_namespaces +// CHECK-NO-0X: inline_namespaces |