access_constant.ads
298 Bytes
-
re PR ada/15805 (Illegal program not detected, allows writing through access to constant) · 2eb160f2
gcc/ada/ PR ada/15805 * sem_ch6.adb (Process_Formals): Prevent an access type formal to be initialized with an access to constant object. gcc/testsuite/ PR ada/15805 * gnat.dg/specs/access_constants.ads: New test. From-SVN: r130676
Samuel Tardieu committed