blob: 273c6e86840d889aced074e00d9c503a8e5fdad1 [file] [log] [blame]
! { dg-do compile }
! { dg-options "-fcoarray=lib -lcaf_single" }
!
! Test the fix for PR83319
!
module foo_module
implicit none
type foo
integer, allocatable :: i(:)
end type
end module
use foo_module
implicit none
type(foo), save :: bar[*]
allocate(bar%i(1)) ! Used to ICE here.
end