1 ! RUN: %flang_fc1 -emit-obj -flang-experimental-hlfir -o /dev/null %s
3 ! Regression test: ensure we can compile this without crashing
4 ! this results in a hlfir.elemental with mismatched types in the hlfir.apply
9 character(5),allocatable
:: func(:,:,:)
12 character(13),allocatable
:: a(:,:,:)
13 print *, (func(2,5,3)//reshape([(char(ichar('a')+n
),n
=1,2*5*3)], &