aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2019-01-28 22:14:27 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2019-01-28 22:14:27 +0000
commitb6d0f41ac5c1786911858b4763bb6f92519166f4 (patch)
treeca1b40716b10b941b960f762ca38414b38cab433 /gcc/gimplify.c
parent2c5b39203276b00496ef32468ccb61d445aef97b (diff)
downloadgcc-b6d0f41ac5c1786911858b4763bb6f92519166f4.zip
gcc-b6d0f41ac5c1786911858b4763bb6f92519166f4.tar.gz
gcc-b6d0f41ac5c1786911858b4763bb6f92519166f4.tar.bz2
PR c++/88358 - name wrongly treated as type.
* parser.c (cp_parser_direct_declarator): Don't assume a qualified-id in parameter-list is a type if the function's declarator-id is not qualified. * g++.dg/cpp2a/typename1.C: Add dg-error. * g++.dg/cpp2a/typename13.C: New test. * g++.dg/cpp2a/typename6.C: Make a function name qualified. Add typename. From-SVN: r268343
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions