diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-01-04 22:30:35 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-01-04 22:30:35 +0100 |
commit | 26c43e27441b88b20a463686ffe0b9b5ebbfbcf0 (patch) | |
tree | 3e4534773f68a3b8acb7baadbc4a5f321c830e48 /gcc/c/c-parser.c | |
parent | 742b18041a2624da73d57abfaa44b04fbe55fe37 (diff) | |
download | gcc-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