2017-02-20 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / integer_exponentiation_7.f90
blobfde221938ff73c21c43fdd8f17cf5fc268a4b5fa
1 ! { dg-do compile }
2 ! { dg-options "-Winteger-division" }
3 program main
4 print *,10**(-3) ! { dg-warning "Negative exponent of integer has zero result" }
5 end program main