testsuite: run C++11 tests in C++11 mode
commit2ace6cd69429e0078147cdeaa16b92fab0002a02
authorJason Merrill <jason@redhat.com>
Tue, 25 Jul 2023 19:39:31 +0000 (25 15:39 -0400)
committerJason Merrill <jason@redhat.com>
Wed, 26 Jul 2023 01:44:45 +0000 (25 21:44 -0400)
tree822f17910ab8366ef59905d0124db62eb90e8008
parentaf37e3948f00b355eca7b881039b22a711e02eb3
testsuite: run C++11 tests in C++11 mode

A recent change missed updating constexpr-mutable3.C because it wasn't run
in C++11 mode even though it checks the behavior for { target c++11_only }.

gcc/testsuite/ChangeLog:

* lib/g++-dg.exp (g++-dg-runtest): Check for c++11_only.
gcc/testsuite/lib/g++-dg.exp