2 ! { dg-options "-fcoarray=single" }
13 class(t0
), allocatable
:: foo(3) ! { dg-error "must have a deferred shape" }
18 class(t0
), pointer :: foo(3) ! { dg-error "must have a deferred shape" }
23 class(t0
), allocatable
:: foo
[3] ! { dg-error "Upper bound of last coarray dimension must be '\\*'" }