1 ! RUN: %python %S/test_errors.py %s %flang_fc1
7 type, extends(t1
) :: t1e
9 !ERROR: A type-bound procedure and its override must have compatible interfaces
10 procedure
:: tbp
=> s1e
17 class(t1e
), intent(in out
) :: x
24 procedure
:: tbp
=> s1
26 type, extends(t1
) :: t1e
28 !ERROR: A type-bound procedure and its override must have compatible interfaces
29 procedure
:: tbp
=> s1e
33 class(t1
), intent(in out
) :: x
43 procedure
, nopass
:: tbp
=> s1
45 type, extends(t1
) :: t1e
47 !ERROR: A NOPASS type-bound procedure and its override must have identical interfaces
48 procedure
, nopass
:: tbp
=> s1e
52 real, intent(in out
) :: x