Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/contiguous_9.f90 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 1830386684a0 |
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