================ @@ -134,7 +134,7 @@ void test() { } namespace cwg2798 { // cwg2798: 17 -#if __cpp_static_assert >= 202306 +#if __cplusplus > 202302L ---------------- Endilll wrote:
Yeah, checking for `__cplusplus` makes more sense in DR test suite. But I wonder if we can leverage feature test macros for a future conformance testing outside of DRs. https://github.com/llvm/llvm-project/pull/102044 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits