aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/entry_25.f90
blob: 518560aa198639249b1669bf3d79832ed06a35e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
! { dg-do compile }
! PR fortran/102311 - ICE during error recovery checking entry characteristics

module m
contains
  function f() ! { dg-error "mismatched characteristics" }
    character(:), allocatable :: f
    character(1)              :: g
    f = 'f'
  entry g()
    g = 'g'
  end
end