summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/integer_exponentiation_1.f90
blob: 4dcb3a44cd51ba061e73329e57e910bb53fa70ac (plain)
1
2
3
4
5
6
7
! { dg-do run }
! { dg-add-options ieee }
! PR 30981 - this used to go into an endless loop during execution.
program test
  a = 3.0
  b = a**(-2147483647_4-1_4) ! { dg-warning "Integer outside symmetric range" }
end program test