summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/nontype21.C
blob: 69cab54f412b48703b4ca159c78b88495f0ead44 (plain)
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" }