summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/underflow.f90
blob: 631fd5a43e171d788568f81327ea88d99ef31a81 (plain)
1
2
3
4
5
! { dg-do compile }
program a
   real x
   x = tiny(x) / huge(x)  ! { dg-warning "Arithmetic underflow" "" }
end program a