https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65186
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |4.8.3, 4.9.2, 5.0, 6.0 Severity|minor |normal --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- This seems to hit the same ICE, without template aliases: template <typename C, C> struct integral_constant {}; 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: integral_constant<bool, Comparator<int, I>::value> {}; }; int main() {}