[to-be-committed] [RISC-V] Use Zbkb for general 64 bit constants when profitable
[official-gcc.git] / gcc / testsuite / gfortran.dg / contiguous_9.f90
blobdec63710d4a40997b6d17e59960d27ef982eb5a8
1 program contiguous_pointer
3 type t
4 end type t
6 type s
7 class(t), dimension(:), contiguous, pointer :: x ! OK
8 class(t), contiguous, allocatable :: y ! { dg-error "has the CONTIGUOUS attribute but is not an array pointer" }
9 class(t), contiguous, pointer :: z ! { dg-error "has the CONTIGUOUS attribute but is not an array pointer" }
10 end type s
12 end program contiguous_pointer