RISC-V: Regenerate opt urls.
[official-gcc.git] / gcc / testsuite / gfortran.dg / typebound_call_23.f03
blob5baa26179d4908bd582d8b64cf18e5e1689b8f51
1 ! { dg-do compile }
3 ! PR 52968: [OOP] Call to type-bound procedure wrongly rejected
5 ! Contributed by Reuben Budiardja <reubendb@gmail.com>
7 module SolverModule
9  type :: SolverType
10    class ( EquationTemplate ), pointer :: Equation
11  end type
13  type :: EquationTemplate
14  contains
15    procedure, nopass :: Evaluate
16  end type
18 contains
20   subroutine Evaluate ()
21   end subroutine
23  subroutine Solve
24    type ( SolverType ) :: S
25    call S % Equation % Evaluate ()
26  end subroutine
28 end module