https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16582
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2005-05-09 00:48:28 |2018-9-13 Known to fail| | --- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- Clang: <source>:8:9: error: non-type template argument does not refer to any declaration X<int, &p[0]> x3; // ERROR ^~~~ <source>:1:25: note: template parameter is declared here template<class T, char* p> struct X { ^