http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59056
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-11-13
Summary|enable_if turns a |ambiguous call to function
|non-ambiguous template into |templates overloads not
|an ambiguous one |diagnosed
Ever confirmed|0 |1
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Thanks, Richard. So the original testcase is correctly rejected as ambiguous,
but G++ has an accepts-invalid bug for the code in comment 2.