summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer/has_feature_cxx0x.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-01-26 21:25:54 +0000
committerDouglas Gregor <dgregor@apple.com>2011-01-26 21:25:54 +0000
commit56d5f0abaa263e33c36339da925ebc4c3d14238c (patch)
treee81061b5ea433e9e9b2f28d62e24eae6c4895e56 /clang/test/Lexer/has_feature_cxx0x.cpp
parentc83f9865a0dae4b290db05ee65e6e365651dc7b3 (diff)
downloadbcm5719-llvm-56d5f0abaa263e33c36339da925ebc4c3d14238c.tar.gz
bcm5719-llvm-56d5f0abaa263e33c36339da925ebc4c3d14238c.zip
Add __has_feature(cxx_reference_qualified_functions); update tests and
documentation. llvm-svn: 124322
Diffstat (limited to 'clang/test/Lexer/has_feature_cxx0x.cpp')
-rw-r--r--clang/test/Lexer/has_feature_cxx0x.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/Lexer/has_feature_cxx0x.cpp b/clang/test/Lexer/has_feature_cxx0x.cpp
index 46de7122109..2944ae374c5 100644
--- a/clang/test/Lexer/has_feature_cxx0x.cpp
+++ b/clang/test/Lexer/has_feature_cxx0x.cpp
@@ -99,3 +99,13 @@ int no_inline_namespaces();
// CHECK-0X: has_inline_namespaces
// CHECK-NO-0X: no_inline_namespaces
+
+#if __has_feature(cxx_reference_qualified_functions)
+int has_reference_qualified_functions();
+#else
+int no_reference_qualified_functions();
+#endif
+
+// CHECK-0X: has_reference_qualified_functions
+// CHECK-NO-0X: no_reference_qualified_functions
+
OpenPOWER on IntegriCloud