1 2 3 4 5 6 7
// PR c++/47705 template<char const * const x> class Something { }; extern char const xyz; class SomethingElse:public Something<xyz> { }; // { dg-error "xyz. is a variable" }