-// { dg-do run { target *-*-freebsd* *-*-dragonfly* *-*-netbsd* *-*-linux* *-*-gnu* *-*-solaris* *-*-cygwin *-*-rtems* *-*-darwin* powerpc-ibm-aix* } }
-// { dg-options "-pthread" { target *-*-freebsd* *-*-dragonfly* *-*-netbsd* *-*-linux* *-*-gnu* *-*-solaris* powerpc-ibm-aix* } }
+// { dg-do run }
+// { dg-options "-pthread" }
// { dg-require-effective-target c++11 }
+// { dg-require-effective-target pthread }
// { dg-require-cstdint "" }
-// Copyright (C) 2008-2017 Free Software Foundation, Inc.
+// Copyright (C) 2008-2020 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
#include <mutex>
#include <chrono>
+#include <cstdint>
#include <system_error>
#include <testsuite_hooks.h>
int main()
{
typedef std::timed_mutex mutex_type;
- typedef std::chrono::duration<int64_t, std::pico> picoseconds;
+ typedef std::chrono::duration<std::int64_t, std::pico> picoseconds;
try
{