On Fri, Jan 17, 2020 at 09:07:01AM -0500, Jason Merrill wrote:
> On 12/30/19 3:51 PM, Kerem Kat wrote:
> > +/* { dg-message "expected" "expected" { target *-*-* } .3 } */
> 
> Dejagnu doesn't like this:
> 
> ERROR: c-c++-common/pr92833-4.c  -std=c++98: expected integer but got ".3"
> for " dg-message 4 "expected" "expected" { target *-*-* } .3 "

Yeah, it can handle .-3 if you want 3 lines before the one with dg-message,
or .+3 if you want 3 lines after it, or . for current line (then you can
leave that and target out), or exact line number, or some symbolic name if
earlier marked.

        Jakub

Reply via email to