[Bug c++/80830] [8 Regression] ICE in tsubst_copy, at cp/pt.c:14569
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun May 21 15:27:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80830
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Reduced test-case:
template <int> class a;
class b
{
friend int operator>> (int, b);
};
template <int c> int &operator>> (int &, a<c> &);
template <int = 3> class a
{
friend int &operator>><> (int &, a &);
a<>
d ()
{
}
};
More information about the Gcc-bugs
mailing list