testsuite: Adjust gfortran.dg/pr95690.f90 line number.

gfortran produces associates a different line number for the same error
message depending on x86 versus other architectures.  This patch adjusts
the dg-error line number depending on the target.

gcc/testsuite/ChangeLog

2020-07-01  David Edelsohn  <dje.gcc@gmail.com>

	* gfortran.dg/pr95690.f90: Adjust dg-error line number.
This commit is contained in:
David Edelsohn 2020-07-01 14:05:26 -04:00
parent cfdc729d3c
commit b260e9123e

View file

@ -2,8 +2,8 @@
module m
contains
subroutine s
print *, (erfc) ! { dg-error "not a floating constant" }
end
print *, (erfc) ! { dg-error "not a floating constant" "" { target i?86-*-* x86_64-*-* } }
end ! { dg-error "not a floating constant" "" { target { ! "i?86-*-* x86_64-*-*" } } }
function erfc()
end
end