diff options
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/filesystem/operations/all.cc')
-rw-r--r-- | libstdc++-v3/testsuite/27_io/filesystem/operations/all.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libstdc++-v3/testsuite/27_io/filesystem/operations/all.cc b/libstdc++-v3/testsuite/27_io/filesystem/operations/all.cc index d5d6c8731c3..3c8ab78b78a 100644 --- a/libstdc++-v3/testsuite/27_io/filesystem/operations/all.cc +++ b/libstdc++-v3/testsuite/27_io/filesystem/operations/all.cc @@ -42,11 +42,11 @@ main() bool b [[maybe_unused]]; std::uintmax_t size; - std::filesystem::absolute(p); - std::filesystem::absolute(p, ec); + p2 = std::filesystem::absolute(p); + p2 = std::filesystem::absolute(p, ec); - std::filesystem::canonical(p); - std::filesystem::canonical(p, ec); + p2 = std::filesystem::canonical(p); + p2 = std::filesystem::canonical(p, ec); std::filesystem::copy(p, p); std::filesystem::copy(p, p, ec); |