PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / read_2.f90
blobf85e9552d4006a32f54e7ff2ff4cde3cba9ed032
1 ! { dg-do run }
3 ! PR fortran/34404
5 ! Contributed by Joost VandeVondele.
7 implicit none
8 complex :: x
9 character(len=80) :: t="(1.0E-7,4.0E-3)"
10 read(t,*) x
11 if (real(x) /= 1.0e-7 .or. aimag(x)/=4.0e-3) STOP 1
12 END