https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82664
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org --- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> --- Further reduced: template < typename > struct target_disambiguator; template < typename R, typename A1 > struct target_disambiguator< R(A1) > { typedef A1 type; template < R (&)() > struct layout; }; int main() { typedef target_disambiguator< void (int) > ::type target_type ; }