]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Fix g++.dg/abi/mangle83.C [PR121578]
authorNathaniel Shead <nathanieloshead@gmail.com>
Tue, 19 Aug 2025 05:08:21 +0000 (15:08 +1000)
committerNathaniel Shead <nathanieloshead@gmail.com>
Tue, 19 Aug 2025 05:08:21 +0000 (15:08 +1000)
This testcase (added in r16-3233-g7921bb4afcb7a3) mistakenly only
required C++14, but auto template paramaters are a C++17 feature.

PR c++/121578

gcc/testsuite/ChangeLog:

* g++.dg/abi/mangle83.C: Requires C++17.

Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com>
gcc/testsuite/g++.dg/abi/mangle83.C

index 42df1b979b99d7ef2de224aad3648cf4ef4f6607..4f05d663ab8c13724181dad6fb937959d182e287 100644 (file)
@@ -1,6 +1,6 @@
 // PR c++/120503
 // Implement P2115r0 "merging definitions of unnamed unscoped enums"
-// { dg-do compile { target c++14 } }
+// { dg-do compile { target c++17 } }
 
 template<auto V> int Frob () { return int (V); }