aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/asynchronous_2.f90
blob: 939c9e2f637e5645affb465caae248c521a779f0 (plain)
1
2
3
4
5
6
7
8
9
10
! { dg-do compile }
! { dg-options "-std=f95" }
!
! PR/fortran 25829
!
! Check parsing ASYNCHRONOUS
!
function func2() result(res)
  asynchronous res ! { dg-error "Fortran 2003: ASYNCHRONOUS" }
end function func2