rt_gccstream/gcc/testsuite/gfortran.dg/open_access_append_2.f90

7 lines
246 B
Fortran

! { dg-do run }
! Testcase for the GNU extension OPEN(...,ACCESS="APPEND")
open (10,err=900,access="append",position="asis") ! { dg-warning "Extension: ACCESS specifier in OPEN statement" }
call abort
900 end
! { dg-output ".*Extension.*" }