view gcc/testsuite/gfortran.dg/initialization_5.f90 @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

! initialization expression, now allowed in Fortran 2003
! PR fortran/29962
! { dg-do run }
! { dg-options "-std=f2003 " }
  real, parameter :: three = 27.0**(1.0/3.0)
  if(abs(three-3.0)>epsilon(three)) STOP 1
end