]> gcc.gnu.org Git - gcc.git/commit
PR c++/88538 - braced-init-list in template-argument-list.
authorMarek Polacek <polacek@redhat.com>
Tue, 8 Jan 2019 22:33:04 +0000 (22:33 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Tue, 8 Jan 2019 22:33:04 +0000 (22:33 +0000)
commit96e768c3fecf0f65af3f289293145d5740971e2a
treee33dfc612400316353e66c17b2cb536c3aa20a93
parent7e55f2d86830d45cbad7cf19d58e4c675fd20579
PR c++/88538 - braced-init-list in template-argument-list.

* parser.c (cp_parser_template_argument): Handle braced-init-list when
in C++20.

* g++.dg/cpp2a/nontype-class11.C: New test.

From-SVN: r267741
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp2a/nontype-class11.C [new file with mode: 0644]
This page took 0.058352 seconds and 5 git commands to generate.