2 ! { dg-options "-fcoarray=single" }
9 codimension
:: x
[*] ! { dg-error "The assumed-rank array 'x' at .1. shall not have a codimension" }
13 integer, dimension(..) :: x
[*] ! { dg-error "The assumed-rank array at .1. shall not have a codimension" }
17 integer, codimension
[*] :: x(..) ! { dg-error "The assumed-rank array at .1. shall not have a codimension" }
21 integer, codimension
[*], dimension(..) :: x
! { dg-error "The assumed-rank array at .1. shall not have a codimension" }
26 dimension :: x(..) ! { dg-error "The assumed-rank array 'x' at .1. shall not have a codimension" }
32 dimension :: x(..) ! { dg-error "The assumed-rank array 'x' at .1. shall not have a codimension" }
38 codimension
:: x
[*] ! { dg-error "The assumed-rank array 'x' at .1. shall not have a codimension" }
41 subroutine orig(X
) ! { dg-error "may not have the VALUE or CODIMENSION attribute" }
46 integer, value
:: x(..) ! { dg-error "VALUE attribute conflicts with DIMENSION attribute" }
51 dimension :: x(..) ! { dg-error "VALUE attribute conflicts with DIMENSION attribute" }