public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/15808] New: Illegal program not detected, RM 3.9.3(10)
@ 2004-06-03 19:24 ludovic dot brenta at insalien dot org
  2004-10-12  4:02 ` [Bug ada/15808] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: ludovic dot brenta at insalien dot org @ 2004-06-03 19:24 UTC (permalink / raw)
  To: gcc-bugs

(Debian bug #246392)


-- RM 3.9.3(10)
-- For an abstract type declared in a visible part, an abstract
-- primitive subprogram shall not be declared in the private part,
-- unless it is overriding an abstract subprogram implicitly
-- declared in the visible part.

generic
package Test_246392 is
   type T1 is abstract tagged private;
private
   type T1 is abstract tagged null record;
   procedure p (x: T1) is abstract;  --ERROR: abstract subprogram not visible
end Test_246392;


I expect an error like this:
test_246392.ads:12:26: private abstract subprogram does not override a public
abstract subprogram


But I get nothing.

-- 
           Summary: Illegal program not detected, RM 3.9.3(10)
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ludovic dot brenta at insalien dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15808


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

end of thread, other threads:[~2008-08-18  9:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-15808-286@http.gcc.gnu.org/bugzilla/>
2007-12-13 14:05 ` [Bug ada/15808] Illegal program not detected, RM 3.9.3(10) sam at gcc dot gnu dot org
2008-08-17 12:24 ` sam at gcc dot gnu dot org
2008-08-18  9:01 ` sam at gcc dot gnu dot org
2008-08-18  9:11 ` sam at gcc dot gnu dot org
2004-06-03 19:24 [Bug ada/15808] New: " ludovic dot brenta at insalien dot org
2004-10-12  4:02 ` [Bug ada/15808] " pinskia at gcc dot gnu dot org
2004-10-29 13:25 ` pinskia at gcc dot gnu dot org
2004-10-29 14:47 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).