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

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jan 9 23:05:47 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:

Changes requested post-commit here: https://github.com/llvm/llvm-project/pull/170837#discussion_r2645216853

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


More information about the libcxx-commits mailing list