// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
// LWG 2499
// operator>>(basic_istream&, CharT*) makes it hard to avoid buffer overflows
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
// LWG 2499
// operator>>(basic_istream&, CharT*) makes it hard to avoid buffer overflows
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
// LWG 2499
// operator>>(basic_istream&, CharT*) makes it hard to avoid buffer overflows
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
// LWG 2499
// operator>>(basic_istream&, CharT*) makes it hard to avoid buffer overflows
// C++20 29.8.3.2 basic_istringstream constructors [istringstream.cons]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
// { dg-require-effective-target cxx11_abi }
#include <sstream>
// C++20 29.8.3.2 basic_istringstream constructors [istringstream.cons]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
// { dg-require-effective-target cxx11_abi }
#include <sstream>
// 29.8.3.4 basic_istringstream member functions [istringstream.members]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
// { dg-require-effective-target cxx11_abi }
#include <sstream>
// 29.8.3.4 basic_istringstream member functions [istringstream.members]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
// { dg-require-effective-target cxx11_abi }
#include <sstream>
// 29.8.3.4 basic_istringstream member functions [istringstream.members]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
#include <sstream>
#include <string_view>
// 27.7.1.1 basic_stringbuf constructors [lib.stringbuf.cons]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
#include <sstream>
#include <string_view>
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-options "-std=gnu++2a" }
// { dg-additional-options "-pthread" { target pthread } }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
// { dg-require-effective-target cxx11_abi }
// { dg-require-effective-target rtti }
// Test character inserters defined as deleted by P1423.
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
#include <ostream>
// Test wide character inserters defined as deleted by P1423.
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
#include <ostream>
// C++20 29.8.4.2 basic_ostringstream constructors [ostringstream.cons]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
// { dg-require-effective-target cxx11_abi }
#include <sstream>
// C++20 29.8.4.2 basic_ostringstream constructors [ostringstream.cons]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
// { dg-require-effective-target cxx11_abi }
#include <sstream>
// 29.8.4.4 basic_ostringstream member functions [ostringstream.members]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
// { dg-require-effective-target cxx11_abi }
#include <sstream>
// 29.8.4.4 basic_ostringstream member functions [ostringstream.members]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
// { dg-require-effective-target cxx11_abi }
#include <sstream>
// 29.8.4.4 basic_ostringstream member functions [ostringstream.members]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
#include <sstream>
#include <string_view>
// 29.8.4.4 basic_ostringstream member functions [ostringstream.members]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
#include <sstream>
#include <string_view>
// C++20 29.8.2.2 basic_stringbuf constructors [stringbuf.cons]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
// { dg-require-effective-target cxx11_abi }
#include <sstream>
// C++20 29.8.2.2 basic_stringbuf constructors [stringbuf.cons]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
// { dg-require-effective-target cxx11_abi }
#include <sstream>
// 29.8.2.4 basic_stringbuf member functions [stringbuf.members]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
// { dg-require-effective-target cxx11_abi }
#include <sstream>
// 29.8.2.4 basic_stringbuf member functions [stringbuf.members]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
// { dg-require-effective-target cxx11_abi }
#include <sstream>
// 27.7.1.1 basic_stringbuf constructors [lib.stringbuf.cons]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
#include <sstream>
#include <string_view>
// 27.7.1.1 basic_stringbuf constructors [lib.stringbuf.cons]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
#include <sstream>
#include <string_view>
// C++20 29.8.5.2 basic_stringstream constructors [stringstream.cons]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
// { dg-require-effective-target cxx11_abi }
#include <sstream>
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
#include <sstream>
#include <iterator>
// C++20 29.8.5.2 basic_stringstream constructors [stringstream.cons]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
// { dg-require-effective-target cxx11_abi }
#include <sstream>
// 29.8.5.4 basic_stringstream member functions [stringstream.members]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
// { dg-require-effective-target cxx11_abi }
#include <sstream>
// 29.8.5.4 basic_stringstream member functions [stringstream.members]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
// { dg-require-effective-target cxx11_abi }
#include <sstream>
// 29.8.5.4 basic_stringstream member functions [stringstream.members]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
#include <sstream>
#include <string_view>
// 27.7.1.1 basic_stringbuf constructors [lib.stringbuf.cons]
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
#include <sstream>
#include <string_view>
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
// { dg-require-effective-target cxx11_abi }
#include <syncstream>
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
// { dg-require-effective-target cxx11_abi }
// { dg-require-effective-target hosted }
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-options "-std=gnu++2a" }
// { dg-additional-options "-pthread" { target pthread } }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
// { dg-require-effective-target cxx11_abi }
#include <sstream>
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
// { dg-require-effective-target cxx11_abi }
#include <syncstream>
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
// { dg-require-effective-target cxx11_abi }
// { dg-require-gthreads "" }
// { dg-add-options libatomic }
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
// { dg-require-effective-target cxx11_abi }
#include <syncstream>
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
// { dg-require-effective-target cxx11_abi }
// { dg-require-effective-target hosted }
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-options "-std=gnu++2a" }
// { dg-additional-options "-pthread" { target pthread } }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
// { dg-require-effective-target cxx11_abi }
#include <sstream>
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
// { dg-require-effective-target cxx11_abi }
#include <syncstream>
-// { dg-options "-std=gnu++20" }
// { dg-do compile { target c++20 } }
// { dg-require-filesystem-ts "" }
-// { dg-options "-std=gnu++20" }
// { dg-do run { target c++20 } }
// { dg-require-filesystem-ts "" }
-// { dg-options "-std=gnu++20" }
// { dg-do compile { target c++20 } }
#include <filesystem>
-// { dg-options "-std=gnu++2a" }
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
// Copyright (C) 2020-2023 Free Software Foundation, Inc.
//