summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer/has_feature_cxx0x.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2010-09-24 21:25:25 +0000
committerAnders Carlsson <andersca@mac.com>2010-09-24 21:25:25 +0000
commit991285e425bc24f7e336533fbed30427e0977558 (patch)
treeb53c994e4b120799df79fadb5645b23747e2aef7 /clang/test/Lexer/has_feature_cxx0x.cpp
parentcf1f985838cec4a4dbd235d5f9579ae3efe18792 (diff)
downloadbcm5719-llvm-991285e425bc24f7e336533fbed30427e0977558.tar.gz
bcm5719-llvm-991285e425bc24f7e336533fbed30427e0977558.zip
Allow the use of C++0x deleted functions as an extension in C++98.
llvm-svn: 114762
Diffstat (limited to 'clang/test/Lexer/has_feature_cxx0x.cpp')
-rw-r--r--clang/test/Lexer/has_feature_cxx0x.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Lexer/has_feature_cxx0x.cpp b/clang/test/Lexer/has_feature_cxx0x.cpp
index cc2ae28c58b..c6c7787276a 100644
--- a/clang/test/Lexer/has_feature_cxx0x.cpp
+++ b/clang/test/Lexer/has_feature_cxx0x.cpp
@@ -70,7 +70,7 @@ int no_static_assert();
// CHECK-0X: has_static_assert
// CHECK-NO-0X: no_static_assert
-
+// We accept this as an extension.
#if __has_feature(cxx_deleted_functions)
int deleted_functions();
#else
@@ -78,7 +78,7 @@ int no_deleted_functions();
#endif
// CHECK-0X: deleted_functions
-// CHECK-NO-0X: no_deleted_functions
+// CHECK-NO-0X: deleted_functions
#if __has_feature(cxx_rvalue_references)
OpenPOWER on IntegriCloud