aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/cxx-reference.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/cxx-reference.cpp')
-rw-r--r--test/Parser/cxx-reference.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/Parser/cxx-reference.cpp b/test/Parser/cxx-reference.cpp
index 1fd2fd652c..8d65defe7d 100644
--- a/test/Parser/cxx-reference.cpp
+++ b/test/Parser/cxx-reference.cpp
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -std=c++0x %s
+// RUN: clang -fsyntax-only -verify %s
extern char *bork;
char *& bar = bork;
@@ -17,8 +17,3 @@ int & const X = val; // expected-error {{'const' qualifier may not be applied to
int & volatile Y = val; // expected-error {{'volatile' qualifier may not be applied to a reference}}
int & const volatile Z = val; /* expected-error {{'const' qualifier may not be applied}} \
expected-error {{'volatile' qualifier may not be applied}} */
-
-int && r1(int &&a);
-
-typedef int && R;
-void r2(const R a);