| 1 |
-- { dg-do compile } |
| 2 |
|
| 3 |
package body Equal5 is |
| 4 |
function "=" |
| 5 |
(Left : Eq_Parent; |
| 6 |
Right : Eq_Parent) return Boolean is (True); |
| 7 |
|
| 8 |
procedure Op (Obj : Child_6) is null; |
| 9 |
|
| 10 |
function Equals |
| 11 |
(Left : Child_6; |
| 12 |
Right : Child_6) return Boolean is (True); |
| 13 |
end Equal5; |