1 ! RUN: %python %S/test_errors.py %s %flang_fc1
19 type(t1
), intent(in
) :: x
22 type(t2
), intent(in
) :: x
25 type(t3
), intent(in
) :: x
28 type(t4
), intent(in
) :: x
33 use m
, only
: s1a
, s2a
, s3a
, s4a
36 integer :: x
! distinct type
42 type :: t3
! no SEQUENCE
46 real :: x
! not PRIVATE
48 interface distinguishable1
51 interface distinguishable2
54 interface distinguishable3
57 !ERROR: Generic 'indistinguishable' may not have specific procedures 's2a' and 's2b' as their interfaces are not distinguishable
58 interface indistinguishable
63 type(t1
), intent(in
) :: x
66 type(t2
), intent(in
) :: x
69 type(t3
), intent(in
) :: x
72 type(t4
), intent(in
) :: x