aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/tiny_2.f90
blob: b6c44e2ae0c83f3da2f0c452873b19630ecb3b63 (plain)
1
2
3
4
5
6
7
8
9
! { dg-do run }
program tiny2
  real(4) x4
  real(8) x8
  x4 = tiny(x4)
  x8 = tiny(x8)
  if (minexponent(x4) /= exponent(x4)) STOP 1
  if (minexponent(x8) /= exponent(x8)) STOP 2
end program tiny2