[libcxx-commits] [libcxx] [libc++][NFC] Refactored `nodiscard.verify.cpp` tests (PR #175285)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Jan 11 00: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
----------------
frederick-vs-ja wrote:
Removal of this guard looks fine.
https://github.com/llvm/llvm-project/pull/175285
More information about the libcxx-commits
mailing list