This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: fixes bugs in name lookup via using directives


Ollie Wild wrote:

> I can move the tests for line 6 and line 11, but the other three tests
> all apply to the same line.  Furthermore, the two dg-error checks
> refer to separate, non-contiguous errors, so they can't be handled
> with a single, multi-line regex.  If anyone knows how to merge these
> on a single line, please let me know.

Does it work to do:

  // { dg-error "msg1|msg2" }

?

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]