Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/coarray_35.f90 @ 128:fe568345ddd5
fix CbC-example
author | mir3636 |
---|---|
date | Wed, 11 Apr 2018 19:32:28 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! { dg-options "-fcoarray=lib" } ! ! To be used with coarray_35a.f90 ! Check that the coarray declared in the module is accessible ! by checking the assembler name ! ! Contributed by Alessandro Fanfarillo. ! module global_coarrays implicit none integer,parameter :: n=10 integer :: b(10)[*] end module global_coarrays ! Check for the symbol of the coarray token (w/o system-dependend prefix) ! { dg-final { scan-assembler "caf_token__global_coarrays_MOD_b" } }