diff options
author | Francois-Xavier Coudert <coudert@clipper.ens.fr> | 2006-05-08 11:59:09 +0200 |
---|---|---|
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2006-05-08 09:59:09 +0000 |
commit | 2813414c11c2b6539b0d657686f8f4ba2d96a704 (patch) | |
tree | 0a629c87313377345c98fff0a592dbb289f68947 /gcc | |
parent | b81bd6c9a2a22462cba3e8bdd42467c449c36a80 (diff) | |
download | gcc-2813414c11c2b6539b0d657686f8f4ba2d96a704.zip gcc-2813414c11c2b6539b0d657686f8f4ba2d96a704.tar.gz gcc-2813414c11c2b6539b0d657686f8f4ba2d96a704.tar.bz2 |
re PR fortran/18271 (INT is allowed in a specification expression)
PR libfortran/18271
* gfortran.dg/spec_expr_3.f90: New test.
From-SVN: r113627
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/spec_expr_3.f90 | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5da14b5..a638c4d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-05-07 Francois-Xavier Coudert <coudert@clipper.ens.fr> + + PR libfortran/18271 + * gfortran.dg/spec_expr_3.f90: New test. + 2006-05-07 H.J. Lu <hongjiu.lu@intel.com> PR target/24879 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 0000000..27687e5 --- /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 |