// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Ensure the library only uses the __name__ form for attributes.
// Don't test 'const' and 'noreturn' because they are reserved anyway.
-// { dg-do compile }
// { dg-options "-std=gnu++17 -fno-exceptions" }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2015-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++17 -fno-rtti" }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2015-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++17 -pedantic-errors" }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2015-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++17 -fno-operator-names" }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2015-2020 Free Software Foundation, Inc.
//
// FreeBSD wants warning clean system headers:
// { dg-options "-std=gnu++17" }
// { dg-additional-options "-Wall -Wsystem-headers" { target *-*-freebsd* *-*-dragonfly* } }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2015-2020 Free Software Foundation, Inc.
//
// FreeBSD wants warning clean system headers:
// { dg-options "-std=gnu++17" }
// { dg-additional-options "-Wall -Wsystem-headers" { target *-*-freebsd* *-*-dragonfly* } }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2015-2020 Free Software Foundation, Inc.
//
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <cassert>
#include <exception>
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2014-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
// Copyright (C) 2014-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
// Copyright (C) 2014-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <any>
#include <set>
// { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
// Copyright (C) 2014-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
// Copyright (C) 2014-2020 Free Software Foundation, Inc.
//
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// { dg-require-cstdint "" }
#include <any>
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <any>
#include <testsuite_hooks.h>
// { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
// Copyright (C) 2014-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17 -fno-rtti" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
// Copyright (C) 2014-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
// Copyright (C) 2014-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
// Copyright (C) 2014-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
// Copyright (C) 2014-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2014-2020 Free Software Foundation, Inc.
//
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
#include <utility>
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
#include <utility>
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
#include <type_traits>
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2014-2020 Free Software Foundation, Inc.
//
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
#include <chrono>
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <memory>
#include <testsuite_hooks.h>
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
#include <functional>
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <functional>
#include <testsuite_hooks.h>
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <functional>
#include <cstring>
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
#include <type_traits>
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2015-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2015-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2015-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2015-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2015-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2015-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2015-2020 Free Software Foundation, Inc.
//
#include <type_traits>
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
void test01()
{
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
//
// Copyright (C) 2015-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2014-2020 Free Software Foundation, Inc.
//
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
#include <memory>
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <memory>
#include <testsuite_hooks.h>
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <tuple>
#include <testsuite_hooks.h>
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <tuple>
#include <testsuite_hooks.h>
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2014-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2017-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
// { dg-do compile { target { ilp32 || lp64 } } }
+// { dg-require-effective-target c++17 }
// Copyright (C) 2017-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do run }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
#include <type_traits>
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2017-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2017-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// C++17 21.3.1.7 [string.ops] string operations
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// C++17 21.3.1.7 [string.ops] string operations
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
-// { dg-do run { xfail *-*-* } }
// { dg-options "-std=gnu++17 -O0" }
+// { dg-do run { target c++17 } }
// { dg-require-debug-mode "" }
+// { dg-xfail-run-if "expect debug mode assertion to fail" { *-*-* } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// { dg-require-string-conversions "" }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
-// { dg-do run { xfail *-*-* } }
// { dg-options "-std=gnu++17 -O0" }
+// { dg-do run { target c++17 } }
// { dg-require-debug-mode "" }
+// { dg-xfail-run-if "expect debug mode assertion to fail" { *-*-* } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// { dg-require-string-conversions "" }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
// NB: This issue affected only debug-mode.
// { dg-options "-std=gnu++17 -fno-rtti" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
#include <string_view>
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// all of the string_view class.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// { dg-require-fileio "" }
#include <string_view>
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// { dg-require-fileio "" }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17 -fchar8_t" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17 -fchar8_t" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2014 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2014 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2014-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++17" }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++17" }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
#include <string_view>
-// { dg-do compile }
// { dg-options "-std=gnu++17" }
+// { dg-do compile { target c++17 } }
template class std::basic_string_view<int, std::char_traits<int>>;
-// { dg-do compile }
// { dg-options "-std=gnu++17" }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++17" }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++17" }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++17 -fchar8_t" }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
-// { dg-do compile }
// { dg-options "-std=gnu++17" }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2013-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2014-2020 Free Software Foundation, Inc.
//
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
#include <string_view>
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <map>
#include <algorithm>
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2015-2020 Free Software Foundation, Inc.
//
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <map>
#include <algorithm>
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2015-2020 Free Software Foundation, Inc.
//
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <map>
#include <algorithm>
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <map>
#include <algorithm>
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <set>
#include <algorithm>
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <set>
#include <algorithm>
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <set>
#include <algorithm>
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <set>
#include <algorithm>
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <unordered_map>
#include <testsuite_hooks.h>
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2015-2020 Free Software Foundation, Inc.
//
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <unordered_map>
#include <algorithm>
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2015-2020 Free Software Foundation, Inc.
//
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <unordered_map>
#include <testsuite_hooks.h>
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <unordered_map>
#include <algorithm>
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <unordered_set>
#include <testsuite_hooks.h>
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <unordered_set>
#include <algorithm>
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <unordered_set>
#include <testsuite_hooks.h>
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
#include <unordered_set>
#include <algorithm>
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// { dg-require-normal-namespace "" }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
// Copyright (C) 2000-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
// Copyright (C) 2016-2020 Free Software Foundation, Inc.
//
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
#include <cmath>
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
#undef __STDCPP_WANT_MATH_SPEC_FUNCS__
#define __STDCPP_WANT_MATH_SPEC_FUNCS__ 0
// { dg-options "-std=gnu++17 -fno-inline" }
-// { dg-do link }
+// { dg-do link { target c++17 } }
#include <iostream>
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
#include <atomic>
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
#include <atomic>
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
#include <shared_mutex>
-// { dg-do run }
// { dg-options "-std=gnu++17 -pthread" }
+// { dg-do run { target c++17 } }
// { dg-require-effective-target pthread }
// { dg-require-gthreads "" }
-// { dg-do compile }
// { dg-options "-std=gnu++17" }
+// { dg-do compile { target c++17 } }
// { dg-require-gthreads "" }
// Copyright (C) 2015-2020 Free Software Foundation, Inc.
-// { dg-do compile }
// { dg-options "-std=gnu++17" }
+// { dg-do compile { target c++17 } }
// { dg-require-gthreads "" }
// Copyright (C) 2015-2020 Free Software Foundation, Inc.
-// { dg-do compile }
// { dg-options "-std=gnu++17" }
+// { dg-do compile { target c++17 } }
// { dg-require-gthreads "" }
// Copyright (C) 2015-2020 Free Software Foundation, Inc.
-// { dg-do run }
// { dg-options "-std=gnu++17 -pthread" }
+// { dg-do run { target c++17 } }
// { dg-require-effective-target pthread }
// { dg-require-gthreads "" }
-// { dg-do run }
// { dg-options "-std=gnu++17 -pthread" }
+// { dg-do run { target c++17 } }
// { dg-require-effective-target pthread }
// { dg-require-gthreads "" }
-// { dg-do run }
// { dg-options "-std=gnu++17 -pthread" }
+// { dg-do run { target c++17 } }
// { dg-require-effective-target pthread }
// { dg-require-gthreads "" }