C++ PATCH for c++/64095, unnamed generic lambda parameter pack

Jason Merrill jason@redhat.com
Mon Apr 2 18:18:00 GMT 2018


In this testcase, we have (auto...), a function parameter pack without
a declarator.  Because there is no declarator, we were never hitting
the code for turning the auto type into a template parameter pack, so
the ... ended up being parsed as a C-style trailing ellipsis.

Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 64095.diff
Type: text/x-patch
Size: 4433 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180402/c069e7de/attachment.bin>


More information about the Gcc-patches mailing list