aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr39695_2.f90
blob: 8534724959a7a23cac7526b99c32a3a351a60edc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
! { 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