xref: /llvm-project/flang/test/Evaluate/folding26.f90 (revision 93c3e765ac99f6ce40cbe4340ab9967fb7593a0a)
1! RUN: %python %S/test_folding.py %s %flang_fc1
2! Tests folding of TRANSPOSE
3module 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]))
6end module
7