pr71909.C
412 Bytes
-
re PR c++/71909 (g++ accepts an unreachable function catch block that lacks a corresponding try) · 7419f441
PR c++/71909 * parser.c (cp_parser_save_member_function_body): Consume __transaction_relaxed or __transaction_atomic with optional attribute. Only skip catch with block if try keyword is seen. * g++.dg/parse/pr71909.C: New test. * g++.dg/tm/pr71909.C: New test. From-SVN: r238521
Jakub Jelinek committed