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/] [discr9.ads] - Rev 304
Compare with Previous | Blame | View Log
package Discr9 is type IArr is Array (Natural range <>) of Integer; type CArr is Array (Natural range <>) of Character; type Var_R (D1 : Boolean; D2 : Boolean) is record case D1 is when True => L : IArr (1..4); M1, M2 : CArr (1..16); when False => null; end case; end record; type R (D1 : Boolean; D2 : Boolean) is record Field : Var_R (D1, D2); end record; procedure Proc (From : in R; To : out R); end Discr9;