diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/initialization_4.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/initialization_4.f90 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/initialization_4.f90 b/gcc/testsuite/gfortran.dg/initialization_4.f90 index b0f24311bdb..552a01f8748 100644 --- a/gcc/testsuite/gfortran.dg/initialization_4.f90 +++ b/gcc/testsuite/gfortran.dg/initialization_4.f90 @@ -3,4 +3,5 @@ ! { dg-do compile } ! { dg-options "-std=f95" } real, parameter :: pi = 4.0*Atan(1.0) ! { dg-error "Evaluation of nonstandard initialization expression" } +real, parameter :: three = 27.0**(1.0/3.0) ! { dg-error "Noninteger exponent in an initialization expression" } end |