[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Evaluate / folding26.f90
blob0fb5f91361774fc370caf9b44fbd93beca2a0097
1 ! RUN: %python %S/test_folding.py %s %flang_fc1
2 ! Tests folding of TRANSPOSE
3 module m
4 integer, parameter :: matrix(0:1,0:2) = reshape([1,2,3,4,5,6],shape(matrix))
5 logical, parameter :: test_transpose_1 = all(transpose(matrix) == reshape([1,3,5,2,4,6],[3,2]))
6 end module