[Bug c++/94068] [9/10 Regression] Internal compiler error when trying to resolve function overload since r9-2384
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 6 12:14:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94068
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced testcase with -std=c++17 or -std=c++2a:
enum class A { A1, A2 };
A foo ();
long foo (int);
template <typename>
void
bar ()
{
const auto c{foo ()};
}
More information about the Gcc-bugs
mailing list