libstdc++: Remove dg-options "-std=gnu++20" from std::format tests

The testsuite will automatically select C++20 for these tests now, and
removing the hardcoded -std option allows them to be tested for C++23
and C++26 as well.

libstdc++-v3/ChangeLog:

	* testsuite/std/format/arguments/args.cc: Remove dg-options.
	* testsuite/std/format/arguments/lwg3810.cc: Likewise.
	* testsuite/std/format/error.cc: Likewise.
	* testsuite/std/format/format_string.cc: Likewise.
	* testsuite/std/format/formatter/concept.cc: Likewise.
	* testsuite/std/format/formatter/ext_float.cc: Likewise.
	* testsuite/std/format/formatter/requirements.cc: Likewise.
	* testsuite/std/format/functions/107871.cc: Likewise.
	* testsuite/std/format/functions/format.cc: Likewise.
	* testsuite/std/format/functions/format_to.cc: Likewise.
	* testsuite/std/format/functions/format_to_n.cc: Likewise.
	* testsuite/std/format/functions/size.cc: Likewise.
	* testsuite/std/format/functions/vformat_to.cc: Likewise.
	* testsuite/std/format/parse_ctx.cc: Likewise.
	* testsuite/std/format/string.cc: Likewise.
	* testsuite/std/format/string_neg.cc: Likewise.
	* testsuite/std/format/functions/format_c++23.cc: Removed.
This commit is contained in:
Jonathan Wakely 2023-09-01 21:28:03 +01:00
parent 7dbb691309
commit 4c0fbba393
17 changed files with 0 additions and 21 deletions

View file

@ -1,4 +1,3 @@
// { dg-options "-std=gnu++20" }
// { dg-do run { target c++20 } }
#include <format>

View file

@ -1,4 +1,3 @@
// { dg-options "-std=gnu++20" }
// { dg-do compile { target c++20 } }
// LWG 3810. CTAD for std::basic_format_args

View file

@ -1,4 +1,3 @@
// { dg-options "-std=gnu++20" }
// { dg-do run { target c++20 } }
#include <format>

View file

@ -1,4 +1,3 @@
// { dg-options "-std=gnu++20" }
// { dg-do compile { target c++20 } }
#include <format>

View file

@ -1,4 +1,3 @@
// { dg-options "-std=gnu++23" }
// { dg-do compile { target c++23 } }
#include <format>

View file

@ -1,4 +1,3 @@
// { dg-options "-std=gnu++20" }
// { dg-do run { target c++20 } }
#include <format>

View file

@ -1,4 +1,3 @@
// { dg-options "-std=gnu++20" }
// { dg-do run { target c++20 } }
#include <format>

View file

@ -1,4 +1,3 @@
// { dg-options "-std=gnu++20" }
// { dg-do compile { target c++20 } }
#include <format>

View file

@ -1,4 +1,3 @@
// { dg-options "-std=gnu++20" }
// { dg-do run { target c++20 } }
// { dg-add-options no_pch }

View file

@ -1,5 +0,0 @@
// { dg-do run { target c++23 } }
// { dg-add-options no_pch }
// This test does not have -std=gnu++20 in dg-options so that format.cc
// can be tested for e.g. -std=c++26
#include "format.cc"

View file

@ -1,4 +1,3 @@
// { dg-options "-std=gnu++20" }
// { dg-do run { target c++20 } }
#include <format>

View file

@ -1,4 +1,3 @@
// { dg-options "-std=gnu++20" }
// { dg-do run { target c++20 } }
#include <format>

View file

@ -1,4 +1,3 @@
// { dg-options "-std=gnu++20" }
// { dg-do run { target c++20 } }
#include <format>

View file

@ -1,4 +1,3 @@
// { dg-options "-std=gnu++20" }
// { dg-do run { target c++20 } }
#include <format>

View file

@ -1,4 +1,3 @@
// { dg-options "-std=gnu++20" }
// { dg-do run { target c++20 } }
#include <format>

View file

@ -1,4 +1,3 @@
// { dg-options "-std=gnu++20" }
// { dg-do run { target c++20 } }
#include <format>

View file

@ -1,4 +1,3 @@
// { dg-options "-std=gnu++20" }
// { dg-do compile { target c++20 } }
#include <format>