From b5aee35cc5d62f11d98539f62e4fe63f0ac9edc6 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 29 May 2017 16:25:46 +0000 Subject: Vendor import of clang trunk r304149: https://llvm.org/svn/llvm-project/cfe/trunk@304149 --- test/Lexer/cxx-features.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/Lexer/cxx-features.cpp') 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 -- cgit v1.2.3