diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/fmt_error_11.f03')
-rw-r--r-- | gcc/testsuite/gfortran.dg/fmt_error_11.f03 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/fmt_error_11.f03 b/gcc/testsuite/gfortran.dg/fmt_error_11.f03 new file mode 100644 index 000000000..24c3fb591 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/fmt_error_11.f03 @@ -0,0 +1,8 @@ +! { dg-do run } +! PR45143 Endless loop with unlimited edit descriptor + print 20, "1234", "abcd", "14rfa5" + 20 format ( *('start',('ahdh',('dhdhhow',a),'ndlownd '))) + print 30, "1234", "abcd", "14rfa5" + 30 format ( *('start',('ahdh',('dhdhhow'),'ndlownd '))) +end +! { dg-shouldfail "Fortran runtime error: '*' requires at least one associated data descriptor" } |