PR c++/84936 - ICE with unexpanded pack in mem-initializer.
authorJason Merrill <jason@redhat.com>
Thu, 5 Apr 2018 00:09:05 +0000 (20:09 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 5 Apr 2018 00:09:05 +0000 (20:09 -0400)
commit0dd285f9a8da75fd01a36acb6b427a9afbd189ce
tree782fbaacb947cb7b2b6af84577f39a2d168e5b10
parent01e1df9ff6f1742b31a033fdb65c8ebb5ea0e983
PR c++/84936 - ICE with unexpanded pack in mem-initializer.

* parser.c (cp_parser_mem_initializer_list): Call
check_for_bare_parameter_packs.

From-SVN: r259107
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/cpp0x/variadic175.C [new file with mode: 0644]