Debian Codegraph @

gcc/testsuite/gfortran.dg/pr88052.f90

raw
1 ! { dg-do run }
2 ! F2008 constraint C1002 requires comma between A and F in a format
3 program badfmt
4 implicit none
5 integer :: myerror = 0
6 character(40):: fmt = "(AF9.6)"
7 open (10, status='scratch')
8 write (10,fmt, iostat=myerror) 'pi =',4*atan(1.0)
9 if (myerror /= 5006) stop 1
10 end program badfmt