summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer/has_feature_cxx0x.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-04-19 17:00:31 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-04-19 17:00:31 +0000
commit25b555a6bfb248507889d3342cb175146a826bcb (patch)
tree1015ec216ca6eb581590c4ed51407c51d889c639 /clang/test/Lexer/has_feature_cxx0x.cpp
parent7ab75b3f68675d04df4d75be8f9a1571ce1c4bbf (diff)
downloadbcm5719-llvm-25b555a6bfb248507889d3342cb175146a826bcb.tar.gz
bcm5719-llvm-25b555a6bfb248507889d3342cb175146a826bcb.zip
C++11 support is now feature-complete.
llvm-svn: 179861
Diffstat (limited to 'clang/test/Lexer/has_feature_cxx0x.cpp')
-rw-r--r--clang/test/Lexer/has_feature_cxx0x.cpp18
1 files changed, 18 insertions, 0 deletions
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
OpenPOWER on IntegriCloud