libstdc++: Remove dg-error that no longer happens
commit9664c46545601728698a6e3352b32ffcf9a4ade7
authorJonathan Wakely <jwakely@redhat.com>
Thu, 25 Nov 2021 22:54:07 +0000 (25 22:54 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 25 Nov 2021 23:12:15 +0000 (25 23:12 +0000)
tree59ec0b2f2610119eb1c724633eede86b05c22f06
parentb8018e5c5ec0e9b6948182f13fba47c67b758d8a
libstdc++: Remove dg-error that no longer happens

There was a c++11_only dg-error in this testcase, for a "body of
constexpr function is not a return statement" diagnostic that was bogus,
but happened because the return statement was ill-formed. A change to
G++ earlier this month means that diagnostic is no longer emitted, so
remove the dg-error.

libstdc++-v3/ChangeLog:

* testsuite/20_util/tuple/comparison_operators/overloaded2.cc:
Remove dg-error for C++11_only error.
libstdc++-v3/testsuite/20_util/tuple/comparison_operators/overloaded2.cc