comp.lang.ada
 help / color / mirror / Atom feed
* QUIZ: To be or not to be (able to post)
@ 1997-09-29  0:00 Geert Bosch
  1997-09-30  0:00 ` Matthew Heaney
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Geert Bosch @ 1997-09-29  0:00 UTC (permalink / raw)



OK, here is a nice question for all you Ada experts out there.
Why isn't the code below not legal? Or is it? If so, why?

   with Ada.Numerics.Elementary_Functions;
   procedure Renaming is

      function Sin (F : Float) return Float;

      function Sin (X : Float'Base) return Float'Base
	 renames Ada.Numerics.Elementary_Functions.Sin;

   begin
      null;
   end Renaming;

What does your favorite compiler say? And the others? ;-)

Regards,
   Geert




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

end of thread, other threads:[~1997-10-03  0:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-29  0:00 QUIZ: To be or not to be (able to post) Geert Bosch
1997-09-30  0:00 ` Matthew Heaney
1997-09-30  0:00 ` Tucker Taft
1997-10-02  0:00 ` Joel VanLaven
1997-10-02  0:00   ` Tucker Taft
1997-10-02  0:00     ` Joel VanLaven
1997-10-03  0:00       ` Robert A Duff

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