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

--- Comment #1 from bastien penavayre <bastien.penavayre at epitech dot eu> ---
Note that this error only occurs with functions/methods

template<int>
struct ok
{
   template<auto = []{}>
   using type = int;

   template<auto = []{}>
   struct otype {};
};

int main()
{
   ok<0>::type<> t; //ok
   ok<0>::otype<> v; //ok
}

https://godbolt.org/z/ouo4n7

Reply via email to