c++: Use -std=c++20 in testsuite default std list

C++20 has been official for a while now.

gcc/testsuite/ChangeLog:

	* lib/g++-dg.exp: Change 2a to 20.
This commit is contained in:
Jason Merrill 2022-01-18 17:43:03 -05:00
parent 2aa184458a
commit fdd6d85bd7

View file

@ -52,7 +52,7 @@ proc g++-dg-runtest { testcases flags default-extra-flags } {
if { [llength $gpp_std_list] > 0 } {
set std_list $gpp_std_list
} else {
set std_list { 98 14 17 2a }
set std_list { 98 14 17 20 }
}
set option_list { }
foreach x $std_list {