Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/derived_constructor_comps_3.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 } ! ! gfortran was ICEing for the constructor of ! componentfree types. ! ! Contributed by James Van Buskirk ! http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/c8dd08d6da052499/ ! module bug4_mod implicit none type bug4 ! no components end type bug4 end module bug4_mod program bug4_structure use bug4_mod implicit none type(bug4) t t = bug4() write(*,*) t end program bug4_structure