PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / read_repeat_2.f90
blob587690b6c88feda554acf9ad1d833d4a0ba60ec2
1 ! { dg-do run }
3 ! PR fortran/56810
5 ! Contributed by Jonathan Hogg
7 program test
8 implicit none
10 integer :: i
11 complex :: a(4)
13 open (99, status='scratch')
14 write (99, *) '4*(1.0,2.0)'
15 rewind (99)
16 read (99,*) a(:)
17 close (99)
18 if (any (a /= cmplx (1.0,2.0))) STOP 1
19 end program test