[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Lower / Intrinsics / Todo / reduce.f90
blob7aa6f4a9f3ad37825eb0e108828d12c407cef107
1 ! RUN: %not_todo_cmd bbc -emit-fir %s -o - 2>&1 | FileCheck %s
3 interface
4 pure function chfunc(a,b)
5 character(*),intent(in) :: a,b
6 character(3) :: chfunc
7 end function
8 end interface
9 character(3) x(5)
10 print*, reduce(x,chfunc)
11 end program
13 ! CHECK: not yet implemented: intrinsic: reduce