Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/io_constraints_10.f90 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! { dg-options "-std=f95" } ! ! PR fortran/52335 ! integer :: lun character(len=20) :: str ! VALID Fortran 95: open(unit=lun,file=str,delim='apostrophe',status='old') inquire(lun, delim=str) ! Fortran 2003: write(*,*, delim='apostrophe') 'a' ! { dg-error "Fortran 2003: DELIM= at .1. not allowed in Fortran 95" } end