diff --git a/libcxx/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp b/libcxx/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp --- a/libcxx/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp @@ -330,6 +330,7 @@ doAppendSourceTest(TC); } for (auto const & TC : LongLHSCases) { + (void)TC; LIBCPP_ONLY(doAppendSourceAllocTest(TC)); LIBCPP_ONLY(doAppendSourceAllocTest(TC)); }