4 template<const char *, int> struct A {};
5 const char func[] = "abc";
6 template<int N> struct A<func, N> {}; // { dg-error "cannot appear|is invalid" }
11 template<const char *, int> struct B {};
12 template<int N> struct B<__FUNCTION__, N> {}; // { dg-error "cannot appear|is invalid" }
17 template<const char *, int> struct C {};
18 template<int N> struct C<__PRETTY_FUNCTION__, N> {}; // { dg-error "cannot appear|is invalid" }
23 template<const char *, int> struct D {};
24 template<int N> struct D<__func__, N> {}; // { dg-error "cannot appear|is invalid" }