view gcc/testsuite/gfortran.dg/pr39695_2.f90 @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 2b5abeee2509
children
line wrap: on
line source

! { dg-do compile }
!

function g()
 interface
    subroutine g()
    end subroutine g
  end interface
  pointer g
  real g   ! { dg-error "Symbol 'g' at .1. cannot have a type" }
end function