2 // GROUPS passed templates
3 struct Regex { int i; Regex(char *, int); };
7 static const Regex pattern;
8 static unsigned sequence_number;
11 const Regex NDAMName<'L'>::pattern("^[Ll](.*)$", 1);// { dg-error "type/value mismatch" "mismatch" }
12 // { dg-message "expected a type" "expected" { target *-*-* } .-1 }
13 // { dg-warning "deprecated|forbids converting a string constant" "depr" { target *-*-* } .-2 }
14 unsigned NDAMName<'L'>::sequence_number = 0;// { dg-error "type/value mismatch" "mismatch" }
15 // { dg-message "expected a type" "exp" { target *-*-* } .-1 }