diff options
Diffstat (limited to 'libstdc++-v3/testsuite/experimental/filesystem/operations/current_path.cc')
-rw-r--r-- | libstdc++-v3/testsuite/experimental/filesystem/operations/current_path.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/current_path.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/current_path.cc index c242ac0e3996..81ade73ab569 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/current_path.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/current_path.cc @@ -29,6 +29,8 @@ namespace fs = std::experimental::filesystem; void test01() { + bool test __attribute__((unused)) = false; + fs::path dot("."); fs::path cwd = fs::current_path(); std::error_code ec; @@ -39,6 +41,8 @@ test01() void test02() { + bool test __attribute__((unused)) = false; + auto oldwd = fs::current_path(); auto tmpdir = fs::temp_directory_path(); current_path(tmpdir); |