[libcxx-commits] [libcxx] [libc++][NFC] Refactored `nodiscard.verify.cpp` tests (PR #175285)

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jan 10 21:22:43 PST 2026


================
@@ -103,16 +103,18 @@ void test() {
       nex.nested_ptr(); // expected-warning {{ignoring return value of function declared with 'nodiscard' attribute}}
     }
 
-#if TEST_STD_VER <= 14
----------------
H-G-Hristov wrote:

@frederick-vs-ja Would you mind checking on this before I merge?

https://github.com/llvm/llvm-project/pull/175285


More information about the libcxx-commits mailing list