aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-parser.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-01-04 22:30:35 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2017-01-04 22:30:35 +0100
commit26c43e27441b88b20a463686ffe0b9b5ebbfbcf0 (patch)
tree3e4534773f68a3b8acb7baadbc4a5f321c830e48 /gcc/c/c-parser.c
parent742b18041a2624da73d57abfaa44b04fbe55fe37 (diff)
downloadgcc-26c43e27441b88b20a463686ffe0b9b5ebbfbcf0.zip
gcc-26c43e27441b88b20a463686ffe0b9b5ebbfbcf0.tar.gz
gcc-26c43e27441b88b20a463686ffe0b9b5ebbfbcf0.tar.bz2
re PR c++/78693 (Bogus 'inconsistent deduction for ‘auto’' error when having a dependent initializer and a nondependent one in the same declaration)
PR c++/78693 * parser.c (cp_parser_simple_declaration): Only complain about inconsistent auto deduction if auto_result doesn't use auto. * g++.dg/cpp0x/pr78693.C: New test. From-SVN: r244074
Diffstat (limited to 'gcc/c/c-parser.c')
0 files changed, 0 insertions, 0 deletions