storage.ads: Fix expected error message.
gcc/testsuite/ * gnat.dg/specs/storage.ads: Fix expected error message. From-SVN: r134281
This commit is contained in:
parent
2efcad9f79
commit
dcf461fa7f
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2008-04-14 Samuel Tardieu <sam@rfc1149.net>
|
||||
|
||||
* gnat.dg/specs/storage.ads: Fix expected error message.
|
||||
|
||||
2008-04-14 Robert Dewar <dewar@adacore.com>
|
||||
|
||||
* gnat.dg/specs/linker_section.ads: Check for more error conditions.
|
||||
|
|
|
@ -3,7 +3,7 @@ with System.Pool_Global;
|
|||
package Storage is
|
||||
x1: System.Pool_Global.Unbounded_No_Reclaim_Pool;
|
||||
type T1 is access integer;
|
||||
for T1'Storage_Pool use (x1); -- { dg-error "denote a variable" }
|
||||
for T1'Storage_Pool use (x1); -- { dg-error "must be a variable" }
|
||||
type T2 is access Integer;
|
||||
for T2'Storage_Pool use x1;
|
||||
end Storage;
|
||||
|
|
Loading…
Add table
Reference in a new issue