2 ! { dg-options "-std=legacy" }
5 ! We accept 'E+00' as a valid real number. The standard says it is not,
6 ! but doesn't require us to issue an error. Since g77 accepts this as zero,
11 open (19,status='scratch')
12 write (19,'(A15)') 'E+00'
15 if (a .ne. 0) call abort
20 if (a /= 0) call abort