annotate gcc/testsuite/gfortran.dg/recursive_interface_1.f90 @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ! { dg-do compile }
kono
parents:
diff changeset
2 !
kono
parents:
diff changeset
3 ! PR fortran/54107
kono
parents:
diff changeset
4 ! The compiler used to ICE on recursive interfaces.
kono
parents:
diff changeset
5
kono
parents:
diff changeset
6 module m
kono
parents:
diff changeset
7 contains
kono
parents:
diff changeset
8 function foo() result(r1)
kono
parents:
diff changeset
9 procedure(foo), pointer :: r1
kono
parents:
diff changeset
10 end function foo
kono
parents:
diff changeset
11
kono
parents:
diff changeset
12 function bar() result(r2)
kono
parents:
diff changeset
13 procedure(baz), pointer :: r2
kono
parents:
diff changeset
14 end function bar
kono
parents:
diff changeset
15
kono
parents:
diff changeset
16 function baz() result(r3)
kono
parents:
diff changeset
17 procedure(bar), pointer :: r3
kono
parents:
diff changeset
18 end function baz
kono
parents:
diff changeset
19 end module m
kono
parents:
diff changeset
20