[Bug c++/88995] [8/9 Regression] internal compiler error: in lookup_template_class_1, at cp/pt.c:9471
nathan at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 24 22:52:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88995
--- Comment #3 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
template <typename> struct dn
{
static void execute (long *ary)
{
constexpr int index = 0;
[&] { auto &elt = ary [index]; };
}
};
void foo ()
{
dn<void>::execute;
}
More information about the Gcc-bugs
mailing list