1// { dg-do compile } 2// Origin: C++ standard, [temp.arg.nontype]/2 3 4template<class T, char* p> struct X { 5 X(); 6 X(const char* q) { /* ... */ } 7}; 8 9char p[] = "Vivisectionist"; 10 11X<int,"Studebaker"> x1; // { dg-error "string literal" } 12X<int, p> x2; 13 14// { dg-bogus "" "additional errors" { xfail *-*-* } 11 } 15 16