2017-02-20 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / tiny_1.f90
blobe8bfb2d89949620593c60ff6e45ae99fb22850b0
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