From: Maxim Reznik <reznikmm@gmail.com>
Subject: Defaults for formal subprogram
Date: Wed, 28 Apr 2010 02:57:00 -0700 (PDT)
Date: 2010-04-28T02:57:00-07:00 [thread overview]
Message-ID: <629d4f19-6d99-4c4e-bffa-2a2b287410eb@u34g2000yqu.googlegroups.com> (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;
next reply other threads:[~2010-04-28 9:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-28 9:57 Maxim Reznik [this message]
2010-04-28 10:31 ` Defaults for formal subprogram AdaMagica
2010-04-28 10:53 ` Ludovic Brenta
2010-04-28 10:56 ` Ludovic Brenta
2010-04-28 21:12 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox