Debian Codegraph @

gcc/testsuite/gfortran.fortran-torture/compile/pr88304.f90

raw
1 ! PR fortran/88304
2
3 module pr88304
4 implicit none
5 type t
6 integer :: b = -1
7 end type t
8 contains
9 subroutine f1 (x, y)
10 integer, intent(out) :: x, y
11 x = 5
12 y = 6
13 end subroutine f1
14 subroutine f2 ()
15 type(t) :: x
16 integer :: y
17 call f3
18 if (x%b .ne. 5 .or. y .ne. 6) stop 1
19 contains
20 subroutine f3
21 call f1 (x%b, y)
22 end subroutine f3
23 end subroutine f2
24 end module pr88304