------- Comment #5 from iains at gcc dot gnu dot org  2010-04-19 18:26 -------
(In reply to comment #4)
> Subject: Re:  Testsuite cannot detect duplicated 
>         error/warning messages

> In this case, I think this will work:
> 
> /* { dg-bogus "foo bar" } */ /* { dg-warning "foo" } */
>
> no?

well, apparently not ; with two comments on one line I get a dg error.
If I put them on consecutive lines..
In the case that both tests pass - all is OK.
in the case that the dg-bogus test fails the second test also fails - I guess
dg-bogus eats output lines like warning does.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30612

Reply via email to