Advertisement
SimonWright

For H-T

Apr 9th, 2022
2,987
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ada 0.32 KB | None | 0 0
  1. package K is
  2.    type Mat is array (1 .. 2, 1 .. 2, 1 .. 2) of Integer;
  3.    M : Mat;
  4. end K;
  5.  
  6. package L is
  7.    C : constant := 42;
  8. end L;
  9.  
  10. package P is
  11.    procedure P;
  12. end P;
  13.  
  14. with K;
  15. with L;
  16. package body P is
  17.    procedure P is
  18.    begin
  19.       K.M := (others => (others => (others => L.C)));
  20.    end P;
  21. end P;
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement