diff options
Diffstat (limited to 'gcc/testsuite/gfortran.fortran-torture/compile/forall-1.f90')
-rw-r--r-- | gcc/testsuite/gfortran.fortran-torture/compile/forall-1.f90 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.fortran-torture/compile/forall-1.f90 b/gcc/testsuite/gfortran.fortran-torture/compile/forall-1.f90 new file mode 100644 index 000000000..caaea088a --- /dev/null +++ b/gcc/testsuite/gfortran.fortran-torture/compile/forall-1.f90 @@ -0,0 +1,7 @@ + integer i, a(1) + logical(kind=8) s(1) + + s = .true. + a = 42 + forall (i=1:1, .not. s(1)) a(i) = 0 + end |