view gcc/testsuite/gfortran.dg/ishft_2.f90 @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 84e7813d76e9
children
line wrap: on
line source

! { dg-do run }
program ishft_2
  if ( ishftc(3, 2, 3) /= 5 ) STOP 1
  if ( ishftc(256+3, 2, 3) /= 256+5 ) STOP 2
  if ( ishftc(1_4, 31)+1 /= -huge(1_4) ) STOP 3
end program