aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/scratch_1.f90
blob: 1547bfe8c5bdd818e8cd15e6c3dad0dd2b3cc605 (plain)
1
2
3
4
5
6
7
8
! { dg-do run }
! Check that we can open more than 26 scratch files concurrently
  integer :: i
  do i = 1, 30
    print *, i
    open(100+i,status="scratch")
  end do
end