OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [specs/] [access_constant_decl.ads] - Blame information for rev 315

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 304 jeremybenn
-- { dg-do compile }
2
package Access_Constant_Decl is
3
 
4
   c: aliased constant integer := 3;
5
 
6
   type const_ptr is access constant integer;
7
   cp : const_ptr := c'access;
8
 
9
   x : access integer := cp; -- { dg-error "access-to-constant" }
10
 
11
end Access_Constant_Decl;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.