aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-data-ref.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2018-11-19 21:37:01 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2018-11-19 21:37:01 +0000
commit9047dd02b84c42d610cf84037cb7db8963245228 (patch)
tree06843088990a3eaf7367527146b567b20c44a2c9 /gcc/tree-data-ref.c
parent0da4824836328ffcc9a5d96a242756bad602d2fc (diff)
downloadgcc-9047dd02b84c42d610cf84037cb7db8963245228.zip
gcc-9047dd02b84c42d610cf84037cb7db8963245228.tar.gz
gcc-9047dd02b84c42d610cf84037cb7db8963245228.tar.bz2
PR c++/87781 - detect invalid elaborated-type-specifier.
* parser.c (cp_parser_elaborated_type_specifier): Ensure that typename follows a nested-name-specifier. * g++.dg/parse/elab3.C: New test. * g++.dg/template/crash115.C: Adjust dg-error. From-SVN: r266285
Diffstat (limited to 'gcc/tree-data-ref.c')
0 files changed, 0 insertions, 0 deletions