2009-10-05 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / read_2.f90
blobd12dcef71ebb4296a2992a8c4689b8e110cfca8d
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) call abort()
12 END