-// Copyright (C) 2015 Free Software Foundation, Inc.
+// Copyright (C) 2015-2024 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-options "-std=gnu++11 -lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
+// { dg-do run { target c++11 } }
// { dg-require-filesystem-ts "" }
#include <experimental/filesystem>
void
test01()
{
- bool test __attribute__((unused)) = false;
-
std::error_code ec;
fs::file_status st1 = fs::status(".", ec);
VERIFY( !ec );
void
test02()
{
- bool test __attribute__((unused)) = false;
-
fs::path p = __gnu_test::nonexistent_path();
std::error_code ec;