Debian Codegraph @

gcc/testsuite/gfortran.dg/coarray/alloc_comp_2.f90

raw
1 ! { dg-do compile }
2 !
3 ! PR fortran/56929
4 !
5 ! Contributed by Damian Rouson
6 !
7 ! Allocatable scalar corrays were mishandled (ICE)
8 !
9 module parent_coarray_component
10 type parent
11 real, allocatable :: dummy[:]
12 end type
13 type, extends(parent) :: child
14 end type
15 contains
16 subroutine do_something(this)
17 class(child) this
18 end
19 end