AArch64: correct constraint on Upl early clobber alternatives
[official-gcc.git] / gcc / testsuite / gfortran.dg / f2003_io_8.f03
blob5604e0413e29d8313cb98dbad008cfc5541b4da3
1 ! { dg-do compile }
2 ! { dg-options "-std=gnu" }
4 real :: a(4), b(4)
5 real :: c
6 integer :: istat, j
7 character(25) :: msg
9 open(10, file='mydata_f2003_io_8', asynchronous="yes", blank="null")
10 write(10,'(10f8.3)', asynchronous='no', decimal="comma", id=j) a ! { dg-error "must be with ASYNCHRONOUS=" }
11 read(10,'(10f8.3)', id=j, decimal="comma", blank="zero") b ! { dg-error "must be with ASYNCHRONOUS=" }
12 read(10,'(10f8.3)', asynchronous=msg, decimal="comma", blank="zero") b ! { dg-error "does not reduce to a constant expression" }
13 end