| 1 |
-- { dg-do compile } |
| 2 |
-- { dg-options "-gnat95" } |
| 3 |
|
| 4 |
with Overload2_P; use Overload2_P; |
| 5 |
with text_io; use text_io; |
| 6 |
procedure overload2 is |
| 7 |
this, that: t; |
| 8 |
yes : boolean := this /= that; |
| 9 |
begin |
| 10 |
if not yes then |
| 11 |
put_line ("FAILED"); |
| 12 |
end if; |
| 13 |
end; |