summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/iostat_3.f90
blob: 1dc72d149c4fb35ffe8848a4fa0afde3df34b908 (plain)
1
2
3
4
5
6
7
8
! { dg-do compile }
! Testcase for PR libfortran/25068
  real :: u
  integer(kind=8) :: i
  open (10,status="scratch")
  read (10,*,iostat=i) u ! { dg-warning "Fortran 95 requires default INTEGER in IOSTAT tag" }
  close (10,iostat=i) ! { dg-warning "Fortran 95 requires default INTEGER in IOSTAT tag" }
  end