1 ! RUN: %python %S/test_errors.py %s %flang_fc1
8 class(t
), intent(in out
) :: x
13 class(t
), intent(in out
) :: x
14 !ERROR: Left-hand side of assignment may not be polymorphic unless assignment is to an entire allocatable
15 !ERROR: Left-hand side of assignment is not definable
16 !BECAUSE: 'x' is polymorphic in a pure subprogram
20 !ERROR: An INTENT(OUT) dummy argument of a pure subroutine may not be polymorphic
21 class(t
), intent(out
) :: x