lto: Remove random_seed from section name.
[official-gcc.git] / gcc / testsuite / gfortran.dg / coarray_35a.f90
blob1b954a94929f675a63328aa84140233f55ab7a81
1 ! { dg-do compile }
2 ! { dg-options "-fcoarray=lib" }
3 ! { dg-compile-aux-modules "coarray_35.f90" }
5 ! Check that the coarray declared in the module is accessible
6 ! by checking the assembler name
8 ! Contributed by Alessandro Fanfarillo.
10 program testmod
11 use global_coarrays
12 implicit none
14 integer :: me
16 me = this_image()
18 b = me
20 if(me==1) then
21 b(:) = b(:)[2]
22 write(*,*) b
23 end if
25 end program testmod
27 ! Check for the symbol of the coarray token (w/o system-dependend prefix)
28 ! { dg-final { scan-assembler "caf_token__global_coarrays_MOD_b" } }
29 ! { dg-final { cleanup-modules "global_coarrays" } }