summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/unary_operator.f90
blob: ee16e18a8bb1c5df20600f37fa27215648d88538 (plain)
1
2
3
4
5
6
! { 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