mirror of
https://github.com/autc04/Retro68.git
synced 2024-09-28 18:56:06 +00:00
8 lines
243 B
Fortran
8 lines
243 B
Fortran
! { dg-do run }
|
|
! PR48960 On ERROR newunit should not modify user variable.
|
|
program test_newunit
|
|
integer :: st, un = 0
|
|
open (newunit=un, file='nonexisting.dat', status='old', iostat=st)
|
|
if (un /= 0) STOP 1
|
|
end program test_newunit
|