blob: e3587cdf11e0262906ea4ff5b6457c369ebb9711 [file] [log] [blame]
! RUN: bbc %s -o - | FileCheck %s
! CHECK-LABEL: compare
subroutine compare(x, c1, c2)
character(len=4) c1, c2
logical x
! CHECK: %[[RES:.*]] = fir.call @_FortranACharacterCompareScalar1
! CHECK: cmpi slt, %[[RES]],
x = c1 < c2
end subroutine compare