diff options
Diffstat (limited to 'gcc/testsuite/gfortran.fortran-torture/compile/parameter_1.f90')
-rw-r--r-- | gcc/testsuite/gfortran.fortran-torture/compile/parameter_1.f90 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.fortran-torture/compile/parameter_1.f90 b/gcc/testsuite/gfortran.fortran-torture/compile/parameter_1.f90 new file mode 100644 index 00000000000..8921bcddcad --- /dev/null +++ b/gcc/testsuite/gfortran.fortran-torture/compile/parameter_1.f90 @@ -0,0 +1,7 @@ +! legal +integer, parameter :: j = huge(j) +integer i + + if (j /= huge(i)) call abort +end + |