Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/move_alloc_7.f90 @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
! { dg-do compile } ! ! Check that move alloc handles different, type compatible ! declared types ! type t end type t type, extends(t) :: t2 end type t2 class(t), allocatable :: x class(t2), allocatable :: y allocate(y) call move_alloc (y, x) end