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:
parent
cfdc729d3c
commit
b260e9123e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue