blob: 273c6e86840d889aced074e00d9c503a8e5fdad1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
! { 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
|