[gcc r17-2628] libstdc++: std::variant test should be C++17 and up

Jonathan Wakely via Gcc-cvs <[email protected]>
Newsgroups gmane.comp.gcc.cvs
Message-ID <20260722182541.417B74BA2E07__1876.69274616695$1784744750$gmane$org@sourceware.org>
https://gcc.gnu.org/g:ab087de8fd6990dae01995a537ff4772d6282989

commit r17-2628-gab087de8fd6990dae01995a537ff4772d6282989
Author: Jonathan Wakely <[email protected]>
Date:   Wed Jul 22 19:22:44 2026 +0100

    libstdc++: std::variant test should be C++17 and up
    
    libstdc++-v3/ChangeLog:
    
            * testsuite/20_util/variant/lwg3990.cc: Change et to c++17.

Diff:
---
 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.