1! { dg-do run }
2! { dg-options "-Wno-underflow" }
3! Check that the chopping of bits of subnormal numbers works.
4!
5program chop
6 real x
7 x = 1.
8 if (tiny(x)/2. /= tiny(x)/2. - (nearest(tiny(x),1.) - tiny(x))/2.) then
9 STOP 1
10 end if
11end program chop
12