[clang] [Clang][Sema] Reject undeduced static data members without initializers (#173349) (PR #174281)

Hamza Hassanain via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 6 08:31:51 PST 2026


================
@@ -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


More information about the cfe-commits mailing list