From 25b555a6bfb248507889d3342cb175146a826bcb Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Fri, 19 Apr 2013 17:00:31 +0000 Subject: C++11 support is now feature-complete. llvm-svn: 179861 --- clang/test/Lexer/has_feature_cxx0x.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'clang/test/Lexer/has_feature_cxx0x.cpp') diff --git a/clang/test/Lexer/has_feature_cxx0x.cpp b/clang/test/Lexer/has_feature_cxx0x.cpp index 8e0222dcecd..d68675afcf5 100644 --- a/clang/test/Lexer/has_feature_cxx0x.cpp +++ b/clang/test/Lexer/has_feature_cxx0x.cpp @@ -272,3 +272,21 @@ int no_local_type_template_args(); // CHECK-0X: has_local_type_template_args // CHECK-NO-0X: no_local_type_template_args + +#if __has_feature(cxx_inheriting_constructors) +int has_inheriting_constructors(); +#else +int no_inheriting_constructors(); +#endif + +// CHECK-0X: has_inheriting_constructors +// CHECK-NO-0X: no_inheriting_constructors + +#if __has_feature(cxx_thread_local) +int has_thread_local(); +#else +int no_thread_local(); +#endif + +// CHECK-0X: has_thread_local +// CHECK-NO-0X: no_thread_local -- cgit v1.2.3