OSDN Git Service

gcc/fortran:
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gfortran.dg / tiny_1.f90
1 ! { dg-do run }
2 ! Test program inspired by bug report from Walt Brainerd.
3 ! http://gcc.gnu.org/ml/fortran/2005-04/msg00132.html
4 program tiny1
5   real(4) x4
6   real(8) x8
7   if (minexponent(x4) /= exponent(tiny(x4))) call abort
8   if (minexponent(x8) /= exponent(tiny(x8))) call abort
9 end program tiny1