diff options
author | Harald Anlauf <anlauf@gmx.de> | 2020-06-08 21:00:11 +0200 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2020-06-08 21:01:06 +0200 |
commit | 8cd239614e43c9dcc0838845aec504e5eb938dbd (patch) | |
tree | 50e0c56b652a3f82835d9e8f3064634e67f6cfd7 /libgfortran | |
parent | c1057cc0a8ad972e0a2218ab74038a56e5514c39 (diff) | |
download | gcc-8cd239614e43c9dcc0838845aec504e5eb938dbd.tar.gz |
PR fortran/95195 - Fortran testcase should clean up afterwards
Change testcase to check error message (iomsg) at runtime, rather than to crash.
libgfortran/
PR fortran/95091
* io/transfer.c (finalize_transfer): Fix type in error message.
gcc/testsuite/
PR fortran/95195
* gfortran.dg/namelist_97.f90: Adjust testcase.
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/io/transfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/io/transfer.c b/libgfortran/io/transfer.c index cd51679ff46..dc18bc34b32 100644 --- a/libgfortran/io/transfer.c +++ b/libgfortran/io/transfer.c @@ -4127,7 +4127,7 @@ finalize_transfer (st_parameter_dt *dtp) { generate_error (&dtp->common, LIBERROR_OPTION_CONFLICT, "Namelist formatting for unit connected " - "with FORM='UNFORMATTED"); + "with FORM='UNFORMATTED'"); return; } |