summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-07-25 23:31:42 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-07-25 23:31:42 +0000
commitadae25d35df5e59d139455462df9a8be95338be9 (patch)
tree3eb15d2d220249724484623589ea56c64cfd689c
parentcb83c8c85f7bb846d02639d75b48a5824746e8bd (diff)
downloadbcm5719-llvm-adae25d35df5e59d139455462df9a8be95338be9.tar.gz
bcm5719-llvm-adae25d35df5e59d139455462df9a8be95338be9.zip
Reorder tests to match latest SD-6 draft.
llvm-svn: 309054
-rw-r--r--clang/test/Lexer/cxx-features.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/clang/test/Lexer/cxx-features.cpp b/clang/test/Lexer/cxx-features.cpp
index 24f38e51d91..e9a514db758 100644
--- a/clang/test/Lexer/cxx-features.cpp
+++ b/clang/test/Lexer/cxx-features.cpp
@@ -22,10 +22,6 @@
// --- C++17 features ---
-#if check(variadic_using, 0, 0, 0, 201611) // FIXME: provisional name
-#error "wrong value for __cpp_variadic_using"
-#endif
-
#if check(hex_float, 0, 0, 0, 201603)
#error "wrong value for __cpp_hex_float"
#endif
@@ -60,6 +56,10 @@
// static_assert checked below
+#if check(deduction_guides, 0, 0, 0, 201611) // FIXME: provisional name
+#error "wrong value for __cpp_deduction_guides"
+#endif
+
#if check(template_auto, 0, 0, 0, 201606) // FIXME: provisional name
#error "wrong value for __cpp_template_auto"
#endif
@@ -80,6 +80,10 @@
// inheriting_constructors checked below
+#if check(variadic_using, 0, 0, 0, 201611) // FIXME: provisional name
+#error "wrong value for __cpp_variadic_using"
+#endif
+
#if check(aggregate_bases, 0, 0, 0, 201603)
#error "wrong value for __cpp_aggregate_bases"
#endif
@@ -96,10 +100,6 @@
#error "wrong value for __cpp_template_template_args"
#endif
-#if check(deduction_guides, 0, 0, 0, 201611) // FIXME: provisional name
-#error "wrong value for __cpp_deduction_guides"
-#endif
-
// --- C++14 features ---
#if check(binary_literals, 0, 0, 201304, 201304)
OpenPOWER on IntegriCloud