comparison gcc/testsuite/gfortran.dg/ishft_2.f90 @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 ! { dg-do run } 1 ! { dg-do run }
2 program ishft_2 2 program ishft_2
3 if ( ishftc(3, 2, 3) /= 5 ) call abort() 3 if ( ishftc(3, 2, 3) /= 5 ) STOP 1
4 if ( ishftc(256+3, 2, 3) /= 256+5 ) call abort() 4 if ( ishftc(256+3, 2, 3) /= 256+5 ) STOP 2
5 if ( ishftc(1_4, 31)+1 /= -huge(1_4) ) call abort() 5 if ( ishftc(1_4, 31)+1 /= -huge(1_4) ) STOP 3
6 end program 6 end program