summaryrefslogtreecommitdiff
path: root/test/Lexer/cxx-features.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Lexer/cxx-features.cpp')
-rw-r--r--test/Lexer/cxx-features.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Lexer/cxx-features.cpp b/test/Lexer/cxx-features.cpp
index d69ef08a59edb..24f38e51d91ed 100644
--- a/test/Lexer/cxx-features.cpp
+++ b/test/Lexer/cxx-features.cpp
@@ -235,6 +235,6 @@
#error "wrong value for __cpp_experimental_concepts"
#endif
-#if (COROUTINES && !__cpp_coroutines) || (!COROUTINES && __cpp_coroutines)
+#if defined(COROUTINES) ? check(coroutines, 201703L, 201703L, 201703L, 201703L) : check(coroutines, 0, 0, 0, 0)
#error "wrong value for __cpp_coroutines"
#endif