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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This diagnostic seems wrong too:

  using A = int[1];
  A a1{A{}};

ntconsarr.cc:1:26: error: taking address of temporary array
    1 |   using A = int[1]; A a1{A{}};
      |                          ^~~

Reply via email to