[Bug c++/93880] missing test for diagnostic: %s%#qD (reversed)

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Feb 22 23:22:00 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93880

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
In this particular case I'm not sure how better we could test it.  Now we have:
  6 bool operator==(Y, int);    // #2 { dg-message "reversed" "" { target c++2a
} }

and with all the escaping in tcl I don't think "\\\(reversed\\\)" would be much
better (and it's a pain to write it).


More information about the Gcc-bugs mailing list