Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/asynchronous_3.f03 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! ! PR fortran/44457 - no array-subscript actual argument ! for an asynchronous dummy ! integer :: a(10), sect(3) sect = [1,2,3] call f(a(sect)) ! { dg-error "incompatible" } call f(a(::2)) contains subroutine f(x) integer, asynchronous :: x(:) end subroutine f end