Hi!

I'd like to ping the 
https://gcc.gnu.org/pipermail/gcc-patches/2024-May/651199.html
patch.

Thanks.

On Thu, May 09, 2024 at 08:12:30PM +0200, Jakub Jelinek wrote:
> The C++26 P2662R3 Pack indexing paper mentions that both GCC
> and MSVC don't handle T...[10] parameter declaration when T
> is a pack.  While that will change meaning in C++26, in C++11 .. C++23
> this ought to be valid.  Also, T...(args) as well.
> 
> The following patch handles those in cp_parser_direct_declarator.
> 
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
> 
> 2024-05-09  Jakub Jelinek  <ja...@redhat.com>
> 
>       PR c++/115012
>       * parser.cc (cp_parser_direct_declarator): Handle
>       abstract declarator starting with ... followed by [
>       or (.
> 
>       * g++.dg/cpp0x/variadic185.C: New test.
>       * g++.dg/cpp0x/variadic186.C: New test.

        Jakub

Reply via email to