https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50391
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Mon Jun 10 15:55:36 2019 New Revision: 272121 URL: https://gcc.gnu.org/viewcvs?rev=272121&root=gcc&view=rev Log: PR other/90695 reduce testcase to remove library dependency This reproduces the original ICE fixed by r178857 (tested at r178852 and r178860), without depending on a libstdc++ header that keeps changing. The number of errors differs between C++14 and C++17 modes, so the fixed test uses dg-excess-errors to match any number of them. The precise errors aren't what's being tested for here anyway, the point of the test is to verify the ICE in PR 50391 is fixed. PR other/90695 * g++.dg/cpp0x/noexcept15.C: Remove dependency on library header. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/cpp0x/noexcept15.C