PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / is_iostat_end_eor_1.f90
blob24619c17739603d632e98646bb397ef79933ad59
1 ! { dg-do run }
2 ! Test for the Fortran 2003 intrinsics is_iostat_end & is_iostat_eor
4 program test
5 use iso_fortran_env
6 implicit none
7 if ((.not. is_iostat_end(IOSTAT_END)) .or. is_iostat_end(0)) STOP 1
8 if ((.not. is_iostat_eor(IOSTAT_EOR)) .or. is_iostat_end(0)) STOP 2
9 end program test