annotate gcc/testsuite/gfortran.dg/error_format.f90 @ 132:d34655255c78

update gcc-8.2
author mir3636
date Thu, 25 Oct 2018 10:21:07 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ! { dg-do run }
kono
parents:
diff changeset
2 ! { dg-shouldfail "Runtime error format check" }
kono
parents:
diff changeset
3 ! PR32456 IO error message should show Unit/Filename
kono
parents:
diff changeset
4 program test
kono
parents:
diff changeset
5 implicit none
kono
parents:
diff changeset
6 integer :: i
kono
parents:
diff changeset
7 open(99, status="scratch")
kono
parents:
diff changeset
8 read(99,*) i
kono
parents:
diff changeset
9 end program
kono
parents:
diff changeset
10 ! { dg-output ".*(unit = 99, file = .*)" }
kono
parents:
diff changeset
11 ! { dg-output "Fortran runtime error: End of file" }