summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/fmt_error_11.f03
blob: 24c3fb59129e31a21c883f3484451b1763181661 (plain)
1
2
3
4
5
6
7
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" }