Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/alloc_comp_constraint_2.f90 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! Check that equivalence with allocatable components isn't allowed (PR 20541) program main type :: foo sequence integer, allocatable :: x(:) end type foo type(foo) :: a integer :: b equivalence (a, b) ! { dg-error "cannot have ALLOCATABLE components" } end program main