aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r--gcc/cp/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index 8d138fb..a762d9d 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -17853,8 +17853,8 @@ cp_parser_class_head (cp_parser* parser,
{
cp_parser_check_for_invalid_template_id (parser, id,
type_start_token->location);
- virt_specifiers = cp_parser_virt_specifier_seq_opt (parser);
}
+ virt_specifiers = cp_parser_virt_specifier_seq_opt (parser);
/* If it's not a `:' or a `{' then we can't really be looking at a
class-head, since a class-head only appears as part of a