Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/pr77960.f90 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
! { dg-do compile } ! PR fortran/77960 procedure(g), pointer :: f f => g read(99) f ! { dg-error "Expecting variable" } contains function g() result(z) integer :: z(2) z = 1 end end subroutine bar(x) integer, external :: x read(*,*) x ! { dg-error "Expecting variable" } end subroutine