annotate gcc/testsuite/gfortran.dg/error_format.f90 @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
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" }