-// { dg-do compile }
-// { dg-options "-std=gnu++0x" }
-// { dg-require-cstdint "" }
+// { dg-do compile { target c++11 } }
// { dg-require-gthreads "" }
-// { dg-require-atomic-builtins "" }
-// Copyright (C) 2009 Free Software Foundation, Inc.
+// Copyright (C) 2009-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 <future>
#include <testsuite_hooks.h>
-extern std::unique_future<int>&& get();
+extern std::future<int>&& get();
void test01()
{