From 36c49e3f258dced101949edabd72e9bc3f1dedc4 Mon Sep 17 00:00:00 2001 From: dim Date: Fri, 17 Sep 2010 15:54:40 +0000 Subject: Vendor import of clang r114020 (from the release_28 branch): http://llvm.org/svn/llvm-project/cfe/branches/release_28@114020 Approved by: rpaulo (mentor) --- test/Lexer/has_feature_cxx0x.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'test/Lexer/has_feature_cxx0x.cpp') 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 -- cgit v1.1