view gcc/testsuite/gfortran.dg/pr91802.f90 @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents
children
line wrap: on
line source

! { dg-do compile }
! { dg-options "-fcoarray=single" }
! Code contributed by Gerhard Steinmetz
! PR fortran/91802
module m
   real :: x
   dimension ::   x(1,2,1,2,1,2,1,2)
   codimension :: x[1,2,1,2,1,2,1,*] ! { dg-error "exceeds 15" }
end