Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/error_format_2.f90 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
! { dg-do run } ! PR68987, this test case failed on a memory double free program foo call s('(foo)') end program subroutine s(fmt) character (*) :: fmt character (1) :: c integer :: i write (c, fmt, iostat=i) 42 ! print *, i if (i==0) STOP 1 write (c, fmt, err=100) 42 STOP 2 100 continue end subroutine