[Bug c++/59960] accepts ill-formed 'auto a1 = t1, a2 = t2;' where t1 and t2 have different template types
martindorey at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Jan 20 00:57:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59960
Martin Dorey <martindorey at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |martindorey at gmail dot com
--- Comment #1 from Martin Dorey <martindorey at gmail dot com> ---
This is still reproducible in gcc-7. This is much like one of the (simpler)
test cases in:
Bug #79009 - Missing 'inconsistent deduction for ‘auto’' error when having a
dependent initializer and a nondependent one in the same declaration
... in which the OP explains the reason for this bug.
More information about the Gcc-bugs
mailing list