1 ! RUN: %python %S/test_errors.py %s %flang_fc1
5 integer, allocatable
:: a(:)
22 elemental
subroutine t3final(x
)
23 type(t3
), intent(in
) :: x
25 subroutine test1(x1
,x2
,x3
,x4
,x5
)
26 !ERROR: An INTENT(OUT) assumed-size dummy argument array may not have a derived type with any default component initialization
27 type(t1
), intent(out
) :: x1(*)
28 !ERROR: An INTENT(OUT) assumed-size dummy argument array may not have a derived type with any default component initialization
29 type(t2
), intent(out
) :: x2(*)
30 !ERROR: An INTENT(OUT) assumed-size dummy argument array may not be finalizable
31 type(t3
), intent(out
) :: x3(*)
32 !ERROR: An INTENT(OUT) assumed-size dummy argument array may not have a derived type with any default component initialization
33 !ERROR: An INTENT(OUT) assumed-size dummy argument array may not be finalizable
34 type(t4
), intent(out
) :: x4(*)
35 !ERROR: An INTENT(OUT) assumed-size dummy argument array may not be polymorphic
36 class(t5
), intent(out
) :: x5(*)