| ! Tests the fixes for PR82943. |
| ! This test focuses on calling the type bound procedures in a program. |
| ! Contributed by Alexander Westbrooks <ctechnodev@gmail.com> |
| type, public :: tough_lvl_0(a, b) |
| type, public, EXTENDS(tough_lvl_0) :: tough_lvl_1 (c) |
| type, public, EXTENDS(tough_lvl_1) :: tough_lvl_2 (d) |
| class(tough_lvl_0(1,*)), intent(inout) :: this |
| class(tough_lvl_1(1,*,*)), intent(inout) :: this |
| class(tough_lvl_2(1,*,*,*)), intent(inout) :: this |
| TYPE(tough_lvl_0(1,5)) :: test_pdt_0 |
| TYPE(tough_lvl_1(1,5,6)) :: test_pdt_1 |
| TYPE(tough_lvl_2(1,5,6,7)) :: test_pdt_2 |