https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80956

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #2)
> Reduced testcase:
> namespace std {
> template <class> class initializer_list;
> }
> template <typename T> struct B { B (std::initializer_list<T>); };
> struct C { virtual int foo (); };
> struct D : C {} d { B<C> { D {} } };
> 
> Perhaps related to PR83227?

Note the testcase also ICEs with -std=c++14, but at a different spot from
-std=c++17.

Reply via email to