| Paste number 83005: | x |
| Pasted by: | x |
| When: | 2 years, 7 months ago |
| Share: | Tweet this! | http://paste.lisp.org/+1S1P |
| Channel: | None |
| Paste contents: |
package P is
procedure X (A : out Natural);
pragma Postcondition (A >= 10);
end P;
package body P is
procedure X (A : out Natural) is
begin
A := 20;
end X;
end P;
$ gcc44 -gnatwadleG -gnatVa -gnato -gnata -gnatW8 -gnatiw -
gnaty2aAbdefhiklnprStu -c p.adb
p.ads:4:25: warning: "A" may be referenced before it has a value This paste has no annotations.