aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/tiny_2.f90
blob: 194e6cd3109bbd1de8be93ddf3100c5432c114ae (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)) call abort
  if (minexponent(x8) /= exponent(x8)) call abort
end program tiny2