================
@@ -1,5 +1,7 @@
 // RUN: %clang_cc1 -verify -std=c++14 -fcxx-exceptions %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++20 %s
 
+#if __cplusplus < 202002L
----------------
HamzaHassanain wrote:

How then can I make some of the file be tested only with c++ 14, and my tests 
only run with c++ 20 ? 


https://github.com/llvm/llvm-project/pull/174281
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to