------- Comment #1 from iains at gcc dot gnu dot org 2010-04-17 12:19 -------
It seems that
/* { dg-warning "xxxx" "" } */
Is eating all lines where xxxx occurs together with the line on which the
warning is declared.
Otherwise, we'd get an excess errors (which would be perfectly fine as a way of
detecting this).
you can't even do this:
line-with-dup-warning // { dg-warning "match-text" "" }
// { dg-warning "match-text" "" { target *-*-* } last-line-no }
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30612