-// { dg-do run }
-// { dg-options " -std=gnu++11 " }
-// { dg-require-cstdint "" }
+// { dg-do run { target c++11 } }
-// Copyright (C) 2010-2015 Free Software Foundation, Inc.
+// Copyright (C) 2010-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
{
Mutex() : locked(false) { }
- ~Mutex()
+ ~Mutex() noexcept(false)
{
if (locked)
throw 0;
void test01()
{
- bool test __attribute__((unused)) = true;
-
Mutex m;
m.lock();