// { dg-do run }
-// { dg-options "-pthread" }
+// { dg-additional-options "-pthread" { target pthread } }
// { dg-require-effective-target c++14 }
-// { dg-require-effective-target pthread }
-// { dg-require-cstdint "" }
+// { dg-require-gthreads "" }
-// Copyright (C) 2013-2018 Free Software Foundation, Inc.
+// Copyright (C) 2013-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
try
{
- l.try_lock_until(t);
+ (void) l.try_lock_until(t);
}
catch(const std::system_error&)
{