2 ! { dg-options "-fcoarray=single" }
5 ! Based on testcases by Gerhard Steinmetz
9 integer, allocatable
:: z(:)[:,:]
10 allocate (z(2)[1::2,*]) ! { dg-error "Bad array dimension" }
11 allocate (z(1::2)[2,*]) ! { dg-error "Bad array specification in ALLOCATE" }
14 ! { dg-prune-output "Bad coarray specification in ALLOCATE statement" }