PR c++/89612 - ICE with member friend template with noexcept.
* pt.c (maybe_instantiate_noexcept): For function templates, use their template result (function decl). Don't set up local specializations. Temporarily turn on processing_template_decl. Update the template type too. * g++.dg/cpp0x/noexcept38.C: New test. * g++.dg/cpp0x/noexcept39.C: New test. * g++.dg/cpp1z/noexcept-type21.C: New test. From-SVN: r270005
Showing
gcc/testsuite/g++.dg/cpp0x/noexcept38.C
0 → 100644
gcc/testsuite/g++.dg/cpp0x/noexcept39.C
0 → 100644
gcc/testsuite/g++.dg/cpp1z/noexcept-type21.C
0 → 100644
Please
register
or
sign in
to comment