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

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
I meant:

void f()
{
  typedef void (*X) ();
  X x[] = { [x](){} };  // { dg-error "incomplete" }
}

Reply via email to