summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/spec_expr_3.f90
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/spec_expr_3.f90')
-rw-r--r--gcc/testsuite/gfortran.dg/spec_expr_3.f907
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/spec_expr_3.f90 b/gcc/testsuite/gfortran.dg/spec_expr_3.f90
new file mode 100644
index 000000000..27687e5d9
--- /dev/null
+++ b/gcc/testsuite/gfortran.dg/spec_expr_3.f90
@@ -0,0 +1,7 @@
+! { dg-do compile }
+! PR fortran/18271
+subroutine sub(imax)
+ implicit none
+ integer, intent(in) :: imax
+ real :: aux1(25000+int(0.82*imax))
+end subroutine