2 ! { dg-options "-std=f95" }
4 ! PR40008 F2008: Add NEWUNIT= for OPEN statement
5 ! Check for rejection with pre-F2008 standard.
7 ! Contributed by Daniel Kraft, d@domob.eu.
10 character(len
=25) :: str
13 open (newunit
=myunit
, file
="some_file") ! { dg-error "Fortran 2008" }