c++: Add test for fixed PR [PR102338]
commit30b38394b482ce894d9bc81731a0eea8711f4587
authorMarek Polacek <polacek@redhat.com>
Thu, 20 Jan 2022 20:00:11 +0000 (20 15:00 -0500)
committerMarek Polacek <polacek@redhat.com>
Thu, 20 Jan 2022 20:02:21 +0000 (20 15:02 -0500)
treeddcbde67392720efe421727abc56188a6130fbba
parent2f34d7ef3d026cf7109b6e6bb2eca14c840e7c71
c++: Add test for fixed PR [PR102338]

This was fixed by r12-6025 and is sufficiently different from
noexcept71.C that I think we should add it.

PR c++/102338

gcc/testsuite/ChangeLog:

* g++.dg/cpp1y/noexcept2.C: New test.
gcc/testsuite/g++.dg/cpp1y/noexcept2.C [new file with mode: 0644]