* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git] / gcc / testsuite / gfortran.dg / coarray_poly_2.f90
blobdd5a5537f46e60408797ab4184db65e94f16b9e9
1 ! { dg-do compile }
2 ! { dg-options "-fcoarray=single" }
4 type t
5 end type t
6 type(t) :: a[*]
7 call test(a) ! { dg-error "Rank mismatch in argument 'x' at .1. .rank-1 and scalar." }
8 contains
9 subroutine test(x)
10 class(t) :: x(:)[*]
11 print *, ucobound(x)
12 end
13 end