aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/cxx-reference.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-01-25 02:17:32 +0000
committerDouglas Gregor <dgregor@apple.com>2011-01-25 02:17:32 +0000
commit16cf8f5b6f582876b64e132715280fc473f876b9 (patch)
tree0f05a6d0ce688c8d0776dc2039713625a2894ebe /test/Parser/cxx-reference.cpp
parent14429b918bd2f4cb52abc75546a7fe37142054ca (diff)
Downgrade the error about rvalue references to an extension warning
and turn on __has_feature(cxx_rvalue_references). The core rvalue references proposal seems to be fully implemented now, pending lots more testing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124169 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Parser/cxx-reference.cpp')
-rw-r--r--test/Parser/cxx-reference.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/cxx-reference.cpp b/test/Parser/cxx-reference.cpp
index 46f9fb07db..fae938bcaa 100644
--- a/test/Parser/cxx-reference.cpp
+++ b/test/Parser/cxx-reference.cpp
@@ -18,4 +18,4 @@ int & volatile Y = val; // expected-error {{'volatile' qualifier may not be appl
int & const volatile Z = val; /* expected-error {{'const' qualifier may not be applied}} \
expected-error {{'volatile' qualifier may not be applied}} */
-typedef int && RV; // expected-error {{rvalue references are only allowed in C++0x}}
+typedef int && RV; // expected-warning {{rvalue references are a C++0x extension}}