2 // Origin: C++ standard, [temp.arg.nontype]/2
4 template<class T, char* p> struct X {
6 X(const char* q) { /* ... */ }
9 char p[] = "Vivisectionist";
11 X<int,"Studebaker"> x1; // { dg-error "string literal" }
14 // { dg-bogus "" "additional errors" { xfail *-*-* } 11 }