2017-02-20 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / arrayio_13.f90
blob92a856bc869d273f76d5b0f6726490f2888fd9aa
1 ! { dg-do run }
2 ! PR60810 Bogus end-of-file
3 program readstrlist
4 character(len=80), dimension(2) :: ver
5 integer :: a, b, c
6 a = 1
7 b = 2
8 c = 3
9 ver(1) = '285 383'
10 ver(2) = '985'
11 read( ver, *) a, b, c
12 if (a /= 285 .or. b /= 383 .or. c /= 985) call abort
13 !write ( *, *) a, b, c
14 end