Index: libcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/source.pass.cpp =================================================================== --- libcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/source.pass.cpp +++ libcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/source.pass.cpp @@ -223,7 +223,7 @@ assert(p == Expect); { // Signature test - ASSERT_NOEXCEPT(p = std::move(ss)); + LIBCPP_ONLY(ASSERT_NOEXCEPT(p = std::move(ss))); } }