summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/rrspacing_1.f90
blob: 8b866aaa272dabc6802e963635cc78d9b43aeb8f (plain)
1
2
3
4
5
6
7
8
! { dg-do run }
program m
  integer i
  real x,y
  real, parameter :: a = -3.0
  i = int(rrspacing(a))
  if (i /= 12582912) call abort
end program m