This is the mail archive of the gcc-bugs@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]

[Bug testsuite/30612] Testsuite cannot detect duplicated error/warning messages



------- 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


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