3 class QString { // { dg-message "previous definition" }
4 QString (const QString & a); // { dg-message "QString::QString|candidate expects" }
7 class QString { }; // { dg-error "redefinition" }
10 QString z; // { dg-error "matching" }
12 return x ? QString () : QString (); // { dg-error "matching" }