2 ! Tests the fix for PR33986, in which the call to scram would call
3 ! an ICE because allocatable result actuals had not been catered for.
5 ! Contributed by Damian Rouson <damian@rouson.net>
7 function transform_to_spectral_from() result(spectral
)
8 integer, allocatable
:: spectral(:)
11 end function transform_to_spectral_from
19 function transform_to_spectral_from() result(spectral
)
20 integer, allocatable
:: spectral(:)
21 end function transform_to_spectral_from
23 if (any (transform_to_spectral_from () .ne
. (/1,2/))) call abort ()