re PR c++/52869 ([DR 1207] "this" not being allowed in noexcept clauses)
authorKamlesh Kumar <kamleshbhalui@gmail.com>
Fri, 16 Nov 2018 21:55:00 +0000 (21:55 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 16 Nov 2018 21:55:00 +0000 (16:55 -0500)
commit205d542ad55d8dee50acfe4f8ff6c2138dbad418
tree51f4aa19896dd1fcc42f9d78516587d83305621a
parent2674fa47de9ecfee5b04f753582fb23041029f40
re PR c++/52869 ([DR 1207] "this" not being allowed in noexcept clauses)

PR c++/52869

DR 1207
* parser.c (cp_parser_noexcept_specification_opt): Call
inject_this_parameter.

From-SVN: r266224
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/DRs/dr1207-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/DRs/dr1207-2.C [new file with mode: 0644]