comp.lang.ada
 help / color / mirror / Atom feed
* Defaults for formal subprogram
@ 2010-04-28  9:57 Maxim Reznik
  2010-04-28 10:31 ` AdaMagica
  0 siblings, 1 reply; 5+ messages in thread
From: Maxim Reznik @ 2010-04-28  9:57 UTC (permalink / raw)


Hi all

What clause of ARM does this code violate?

procedure Aaa is

   type Proc_Ptr is access procedure;

   X : Proc_Ptr;

   generic
      with procedure Bbb is X.all;
      -- aaa.adb:8:31: expect valid subprogram name as default
   package Pkg is
   end Pkg;

begin
   null;
end;



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

end of thread, other threads:[~2010-04-28 21:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-28  9:57 Defaults for formal subprogram Maxim Reznik
2010-04-28 10:31 ` AdaMagica
2010-04-28 10:53   ` Ludovic Brenta
2010-04-28 10:56     ` Ludovic Brenta
2010-04-28 21:12   ` Randy Brukardt

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