// { dg-do compile } // Origin: C++ standard, [temp.arg.nontype]/2 template struct X { X(); X(const char* q) { /* ... */ } }; char p[] = "Vivisectionist"; X x1; // { dg-error "string literal" } X x2; // { dg-bogus "" "additional errors" { xfail *-*-* } 11 }