gcc/testsuite/gfortran.dg/coarray/codimension_2.f90
raw| 1 | ! { dg-do link } |
| 2 | ! { dg-additional-sources "codimension_2a.f90 codimension_2b.f90" } |
| 3 | ! |
| 4 | ! To be used with codimension_2a.f90 |
| 5 | ! Check that the coarray declared in the module is accessible |
| 6 | ! by doing a link test |
| 7 | ! |
| 8 | ! Contributed by Alessandro Fanfarillo. |
| 9 | ! |
| 10 | module global_coarrays |
| 11 | implicit none |
| 12 | integer,parameter :: n=10 |
| 13 | integer :: b(10)[*] |
| 14 | end module global_coarrays |