aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/cxx0x-rvalue-reference.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/cxx0x-rvalue-reference.cpp')
-rw-r--r--test/Parser/cxx0x-rvalue-reference.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Parser/cxx0x-rvalue-reference.cpp b/test/Parser/cxx0x-rvalue-reference.cpp
new file mode 100644
index 0000000000..3643233272
--- /dev/null
+++ b/test/Parser/cxx0x-rvalue-reference.cpp
@@ -0,0 +1,6 @@
+// RUN: clang -fsyntax-only -verify -std=c++0x %s
+
+int && r1(int &&a);
+
+typedef int && R;
+void r2(const R a);