https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65186
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org --- Comment #8 from Patrick Palka <ppalka at gcc dot gnu.org> --- Here's a slightly simpler test case: template <typename T, template <typename U, U> class> struct Sort; template <template <typename U, U> class Comparator> struct Sort<int, Comparator> { template <int I> struct less_than { Comparator<int, I> a; }; }; I'll try to fix this.