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

Alfred Agrell <blubban at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |blubban at gmail dot com

--- Comment #8 from Alfred Agrell <blubban at gmail dot com> ---
I ran into something similar. My reduced testcase is


struct class1
{
        virtual void a_function() = 0;
};

template<auto my_lambda = []<typename T>() {}>
class class2 {};

template<typename Touter>
struct class3 : public class1 {
        void a_function()
        {
                class2<> x;
        }
};

struct class4 : public class3<class4> {
        class4() {}
};


https://godbolt.org/z/GKo5oWe8j

Reply via email to