annotate gcc/testsuite/gfortran.dg/intent_out_7.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 ! { dg-options "-fcoarray=single" }
kono
parents:
diff changeset
3 !
kono
parents:
diff changeset
4 ! PR fortran/53643
kono
parents:
diff changeset
5 !
kono
parents:
diff changeset
6 type t
kono
parents:
diff changeset
7 integer, allocatable :: comp
kono
parents:
diff changeset
8 end type t
kono
parents:
diff changeset
9 contains
kono
parents:
diff changeset
10 subroutine foo(x,y)
kono
parents:
diff changeset
11 class(t), allocatable, intent(out) :: x(:)
kono
parents:
diff changeset
12 class(t), intent(out) :: y(:)
kono
parents:
diff changeset
13 end subroutine
kono
parents:
diff changeset
14 subroutine foo2(x,y)
kono
parents:
diff changeset
15 class(t), allocatable, intent(out) :: x
kono
parents:
diff changeset
16 class(t), intent(out) :: y
kono
parents:
diff changeset
17 end subroutine
kono
parents:
diff changeset
18 subroutine bar(x,y)
kono
parents:
diff changeset
19 class(t), intent(out) :: x(:)[*]
kono
parents:
diff changeset
20 class(t), intent(out) :: y[*]
kono
parents:
diff changeset
21 end subroutine
kono
parents:
diff changeset
22 subroutine bar2(x,y)
kono
parents:
diff changeset
23 type(t), intent(out) :: x(:)[*]
kono
parents:
diff changeset
24 type(t), intent(out) :: y[*]
kono
parents:
diff changeset
25 end subroutine
kono
parents:
diff changeset
26 end