[Bug ada/15803] New: Illegal program not detected, RM 8.3(19)
ludovic dot brenta at insalien dot org
gcc-bugzilla@gcc.gnu.org
Thu Jun 3 19:14:00 GMT 2004
(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
More information about the Gcc-bugs
mailing list