https://bugs.kde.org/show_bug.cgi?id=422716

Matt Whitlock <k...@mattwhitlock.name> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |k...@mattwhitlock.name

--- Comment #2 from Matt Whitlock <k...@mattwhitlock.name> ---
The following is a minimal reproducer of the crash...


/* BEGIN bug.h */

        #include <concepts>

        template <typename T1, typename T2>
        concept Foo = true;

        template <typename T1, typename T2>
        struct Bug
        {
                template <Foo<Bug> T>
                Bug(T&&) requires true
                { }

                template <Foo<Bug> T>
                Bug(T&&)
                { }
        };

        template <typename T1, typename T2>
        Bug(T1, T2) -> Bug<T1, T2>;

/* END bug.h */


/* BEGIN bug.cpp */

        #include "bug.h"

/* END bug.cpp */


Place bug.h and bug.cpp in a KDevelop project in C++2a mode. Kaboom!

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to