Small test suite tweak
Kaveh R. Ghazi
Sun Aug 27 05:40:00 GMT 2000
> From: Zack Weinberg <email@example.com>
> It appears that you cannot safely use .* in a dg.exp selection
> expression; it may consume multiple lines, causing other expected
> errors to be lost.
> * gcc.dg/cpp/tr-warn4.c: Remove unconstrained .* from
> dg-warning regexps.
Doh! Multi-line expansion!
I've been scratching my head for several days over this one. :-)
PS: for future reference, perhaps "[^\n]*" will work if you need
pattern matching of the same pattern for several lines in a row. I
haven't tested it though.
Kaveh R. Ghazi Engagement Manager / Project Services
firstname.lastname@example.org Qwest Internet Solutions
More information about the Gcc-patches