PR target/83368
[official-gcc.git] / gcc / testsuite / gfortran.dg / newunit_4.f90
blob4d7d73826f700eaff03b4864963b4f132205228b
1 ! { dg-do compile }
2 ! PR69110 ICE with NEWUNIT
3 subroutine open_file_safe(fname, fstatus, faction, fposition, funit)
4 character(*), intent(in) :: fname, fstatus, faction, fposition
5 integer, intent(out) :: funit
6 open(newunit=funit, status=fstatus)
7 end subroutine open_file_safe