This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/15803] New: Illegal program not detected, RM 8.3(19)
- From: "ludovic dot brenta at insalien dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jun 2004 19:14:34 -0000
- Subject: [Bug ada/15803] New: Illegal program not detected, RM 8.3(19)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
(Debian bug #246385)
package Test_246385 is
type acc_p is private;
private
type acc_p is access procedure
(x: acc_p); --ERROR: acc_p not visible until end of declaration
end Test_246385;
I expect an error message such as:
test_246385.ads:5:10: "acc_p" not visible until end of declaration, RM 8.3(19)
But the compiler says naught.
--
Summary: Illegal program not detected, RM 8.3(19)
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=15803