aboutsummaryrefslogtreecommitdiff
path: root/test/Lexer/has_feature_cxx0x.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Lexer/has_feature_cxx0x.cpp')
-rw-r--r--test/Lexer/has_feature_cxx0x.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/Lexer/has_feature_cxx0x.cpp b/test/Lexer/has_feature_cxx0x.cpp
index 8e0222dcec..d68675afcf 100644
--- a/test/Lexer/has_feature_cxx0x.cpp
+++ b/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