https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57460
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> --- But there is no T that would cause check<(EXPR,T())> to be valid, so no valid specialization can be generated for the template, so the program is ill-formed (no diagnostic required).