1 ! RUN: %flang_fc1 -fdebug-unparse %s 2>&1 | FileCheck %s
2 ! Check that a call to RSHIFT is transformed to SHIFTA.
4 subroutine test_default_integer()
12 subroutine test_integer1()
15 !CHECK: k=shifta(i,int(j,kind=4))
16 print *, rshift(8_1, 2)
20 subroutine test_integer2()
23 !CHECK: k=shifta(i,int(j,kind=4))
24 print *, rshift(8_2, 2)
28 subroutine test_integer4()
32 print *, rshift(8_4, 2)
36 subroutine test_integer8()
39 !CHECK: k=shifta(i,int(j,kind=4))
40 print *, rshift(-16_8, 2)
44 subroutine test_integer16()
45 integer(16) :: i
, j
, k
47 !CHECK: k=shifta(i,int(j,kind=4))
48 print *, rshift(8_16, 2)