https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79500
Bug ID: 79500 Summary: non-template deduction guides cause crash Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: richard-gccbugzilla at metafoo dot co.uk Target Milestone: --- Testcase: template<typename T> struct A {}; A(...) -> A<int>; A a = {}; results in: <source>:3:8: internal compiler error: tree check: expected template_decl, have function_decl in do_class_deduction, at cp/pt.c:25096 A a = {}; ^