https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87012
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-08-19 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Started with r241425. Before that we issued an error: 87012.C: In instantiation of ‘struct X<ref, x>’: 87012.C:9:12: required from here 87012.C:7:10: error: type/value mismatch at argument 1 in template parameter list for ‘template<template<class> class T, T<int> <anonymous> > struct X’ struct X { }; ^ 87012.C:7:10: note: expected a class template, got ‘ref’ 87012.C:7:10: note: invalid template non-type parameter 87012.C:7:10: error: type/value mismatch at argument 1 in template parameter list for ‘X<T, <anonymous> >::X’ 87012.C:7:10: note: expected a class template, got ‘ref’ 87012.C:7:10: note: invalid template non-type parameter