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/] [renaming4.ads] - Rev 313
Go to most recent revision | Compare with Previous | Blame | View Log
package Renaming4 is type Big_Array is array (Natural range <>) of Integer; subtype Index is Natural range 1..4; subtype My_Array is Big_Array(Index); A : constant My_Array := (1, 2, 3, 4); subtype Small is Index range 1..2; subtype Small_Array is Big_Array(Small); B : Small_Array renames A(Index); end Renaming4;
Go to most recent revision | Compare with Previous | Blame | View Log