re PR ada/15915 (Illegal program not detected, RM 13.11(15))
gcc/ada/
PR ada/15915
* sem_util.ads, sem_util.adb (Denotes_Variable): New function.
* sem_ch12.adb (Instantiate_Object): Use it.
* sem_ch13.adb (Analyze_Attribute_Definition_Clause): Ensure that
storage pool denotes a variable as per RM 13.11(15).
gcc/testsuite/
PR ada/15915
* gnat.dg/specs/storage.ads: New.
From-SVN: r134261
Showing
gcc/testsuite/gnat.dg/specs/storage.ads
0 → 100644
Please
register
or
sign in
to comment