[committed] libstdc++: std::variant test should be C++17 and up

Jonathan Wakely jwakely@redhat.com
Wed Jul 22 18:25:41 GMT 2026


libstdc++-v3/ChangeLog:

	* testsuite/20_util/variant/lwg3990.cc: Change et to c++17.
---

Pushed to trunk.

 libstdc++-v3/testsuite/20_util/variant/lwg3990.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libstdc++-v3/testsuite/20_util/variant/lwg3990.cc b/libstdc++-v3/testsuite/20_util/variant/lwg3990.cc
index eab23c71a5d4..21231d6b5baa 100644
--- a/libstdc++-v3/testsuite/20_util/variant/lwg3990.cc
+++ b/libstdc++-v3/testsuite/20_util/variant/lwg3990.cc
@@ -1,4 +1,4 @@
-// { dg-do compile { target c++11 } }
+// { dg-do compile { target c++17 } }
 
 // LWG 3990. Program-defined specializations of std::tuple and std::variant
 // can't be properly supported
-- 
2.55.0



More information about the Libstdc++ mailing list