rt_gccstream/gcc/testsuite/gfortran.dg/unary_operator.f90

6 lines
185 B
Fortran

! { dg-do compile }
! PR fortran/34536 -- unary operators following arithmetic ones
real :: x
x = 2.0 ** -3 * 5 ! { dg-warning "Unary operator following arithmetic operator" }
end