comp.lang.ada
 help / color / mirror / Atom feed
From: okellogg@cube.net (Oliver Kellogg)
Subject: mini-quiz
Date: 15 Dec 1994 20:42:25 GMT
Date: 1994-12-15T20:42:25+00:00	[thread overview]
Message-ID: <3cq9nh$5v2@salyko.cube.net> (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 --




             reply	other threads:[~1994-12-15 20:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-12-15 20:42 Oliver Kellogg [this message]
1994-12-15 18:59 ` mini-quiz Robert I. Eachus
1994-12-19 20:31 ` mini-quiz Kevin Weise
replies disabled

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