Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/iostat_3.f90 @ 128:fe568345ddd5
fix CbC-example
author | mir3636 |
---|---|
date | Wed, 11 Apr 2018 19:32:28 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! { dg-options "-std=f95" } ! Testcase for PR libfortran/25068 real :: u integer(kind=8) :: i open (10,status="scratch") read (10,*,iostat=i) u ! { dg-error "Fortran 95 requires default INTEGER in IOSTAT tag" } close (10,iostat=i) ! { dg-error "Fortran 95 requires default INTEGER in IOSTAT tag" } end