Debian Codegraph @

gcc/testsuite/gfortran.dg/pr78719_1.f90

raw
1 ! { dg-do run }
2 ! PR fortran/78719
3 ! Code contributed by Gerhard Steinmetz
4 program p
5
6 type t
7 integer :: n
8 end type
9
10 abstract interface
11 subroutine h
12 end
13 end interface
14
15 procedure(h), pointer :: s
16
17 s => f
18 call s
19 s => g
20 call s
21
22 contains
23
24 subroutine f
25 end
26
27 subroutine g
28 end
29 end program p