aarch64: Add vector floating point extend pattern [PR113880, PR113869]
[official-gcc.git] / gcc / testsuite / gfortran.dg / fmt_t_4.f90
blob22f861771146ad6d66b9da827d66630906d20ea5
1 ! { dg-do run }
2 ! PR31199, test case from PR report.
3 program write_write
4 character(len=20) :: a,b,c
5 open(10, status="scratch")
6 write (10,"(a,t1,a,a)") "xxxxxxxxx", "abc", "def"
7 write (10,"(a,t1,a)",advance='no') "xxxxxxxxx", "abc"
8 write (10,"(a)") "def"
9 write (10,"(a)") "abcdefxxx"
10 rewind(10)
11 read(10,*) a
12 read(10,*) b
13 read(10,*) c
14 close(10)
15 if (a.ne.b) STOP 1
16 IF (b.ne.c) STOP 2
17 end