view gcc/testsuite/gfortran.dg/initialization_5.f90 @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
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