(root)/
gcc-13.2.0/
gcc/
testsuite/
gfortran.dg/
pr20163-2.f
! { dg-do run }
       open(10,status="foo",err=100) ! { dg-warning "STATUS specifier in OPEN statement .* has invalid value" }
       STOP 1
  100  continue
       open(10,status="scratch")
       end