Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gfortran.dg / f2003_io_3.f03
blob5b3fb59b0d7622a9053d0a9ec421896d76b700cd
1 ! { dg-do compile }
2 ! { dg-options "-std=f2003" }
3 ! Test case prepared by Jerry DeLisle  <jvdelisle@gcc.gnu.org>
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") ! { dg-error "not implemented" }
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