aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/is_iostat_end_eor_1.f90
blob: dfa3a5c03c972ea07bb074ccdc36540924bde977 (plain)
1
2
3
4
5
6
7
8
9
! { dg-do run }
! Test for the Fortran 2003 intrinsics is_iostat_end & is_iostat_eor
!
program test
  use iso_fortran_env
  implicit none
  if ((.not. is_iostat_end(IOSTAT_END)) .or. is_iostat_end(0)) call abort()
  if ((.not. is_iostat_eor(IOSTAT_EOR)) .or. is_iostat_end(0)) call abort()
end program test