Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/contiguous_9.f90 @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
line wrap: on
line source
program contiguous_pointer type t end type t type s class(t), dimension(:), contiguous, pointer :: x ! OK class(t), contiguous, allocatable :: y ! { dg-error "has the CONTIGUOUS attribute but is not an array pointer" } class(t), contiguous, pointer :: z ! { dg-error "has the CONTIGUOUS attribute but is not an array pointer" } end type s end program contiguous_pointer