URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [discr1.ads] - Rev 304
Compare with Previous | Blame | View Log
package discr1 is type R is (One, Two); type C_Type (Kind : R) is record case Kind is when One => Name : Integer; when Two => Designator : String (1 .. 40); end case; end record; for C_Type use record Name at 0 range 0.. 31; Designator at 0 range 0..319; Kind at 40 range 0.. 7; end record; for C_Type'Size use 44 * 8; procedure Assign (Id : String); end discr1;