OSDN Git Service

2010-04-08 Tobias Burnus <burnus@net-b.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gfortran.dg / f2003_io_3.f03
1 ! { dg-do compile }
2 ! { dg-options "-std=f2003" }
3 ! Test case prepared by Jerry DeLisle  <jvdelisle@gcc.gnu.org>
4
5 integer :: istat
6 character(25) :: msg
7 real, dimension(10) :: a, b
8 namelist /mynml/ a, b
9 msg = "null"
10 a = 43.21
11 WRITE(99,'(10f8.3)',decimal="comma") a
12 rewind(99)
13 read(99,'(dc,10f8.3)',blank=msg) b
14 write(99,'(dp,10f8.3)',round="up")
15 rewind(99)
16 read(99,'(10f8.3)',pad="yes")
17 msg="suppress"
18 write(99,'(10f8.3)',sign=msg)
19 write(99,delim="apostrophe", fmt=*)
20 write(99,nml=mynml,delim="none")
21 end