2 ! { dg-options "-Wall" }
4 ! This will verify that the # <line> <file> directive later does not
5 ! mess up the diagnostic on this line
6 SUBROUTINE s(dummy
) ! { dg-warning "Unused" }
7 INTEGER, INTENT(in
) :: dummy
12 INTEGER, INTENT(in
) :: dummy
14 ! We want to check that the # directive changes the filename in the
15 ! diagnostic. Nothing else really matters here. dg-regexp allows us
16 ! to see the entire diagnostic. We just have to make sure to consume
18 ! { dg-regexp "foo-f\[^\n]*" }