aarch64: Add vector floating point extend pattern [PR113880, PR113869]
[official-gcc.git] / gcc / testsuite / gfortran.dg / coarray_stat_whitespace.f90
blobaa790b996ef0da2da32c35c24c4c549c2563d98e
1 ! { dg-do compile }
2 ! { dg-options "-fcoarray=lib" }
4 ! Support for stat= in caf reference
6 program whitespace
7 implicit none
9 integer :: me[*],tmp,stat,i
11 me = this_image()
12 stat = 0
13 i = 1
15 sync all(stat = stat)
17 if(stat /= 0) write(*,*) 'failure during sync'
19 stat = 0
21 if(me == 1) then
22 tmp = me[num_images(),stat = stat]
23 if(stat /= 0) write(*,*) 'failure in img:',me
24 else if(me == 2) then
25 tmp = me[i,stat=stat]
26 if(stat /= 0) write(*,*) 'failure in img:',me
27 endif
29 end program whitespace