comp.lang.ada
 help / color / mirror / Atom feed
* mini-quiz
@ 1994-12-15 20:42 Oliver Kellogg
  1994-12-15 18:59 ` mini-quiz Robert I. Eachus
  1994-12-19 20:31 ` mini-quiz Kevin Weise
  0 siblings, 2 replies; 3+ messages in thread
From: Oliver Kellogg @ 1994-12-15 20:42 UTC (permalink / raw)


package Pkg is
   type Typ is (eins, zwei);
end Pkg;

with Pkg;
package Test is
   package Pkg is
      type Typ is (un, deux);
   end Pkg;
   X : Pkg.Typ;
end Test;

--Quick, without compiling (-: Of which type is X, Pkg.Typ, or Test.Pkg.Typ ?
--Bonus question: Where in the LRM ('83 or '95) is this documented ?

-- Oliver M. Kellogg | mail: okellogg@cube.net | fax: (+49)89-60723732 --
-- Dept. RST13, Deutsche Aerospace AG, P.O. Box 801169, D-81663 Munich --




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1994-12-19 20:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1994-12-15 20:42 mini-quiz Oliver Kellogg
1994-12-15 18:59 ` mini-quiz Robert I. Eachus
1994-12-19 20:31 ` mini-quiz Kevin Weise

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox