Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/default_initialization_7.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 } ! ! PR fortran/57033 ! ICE on a structure constructor of an extended derived type whose parent ! type last component has a default initializer ! ! Contributed by Tilo Schwarz <tilo@tilo-schwarz.de> program ice type m integer i logical :: f = .false. end type m type, extends(m) :: me end type me type(me) meo meo = me(1) ! ICE end program ice