URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [discr18_pkg.ads] - Rev 304
Go to most recent revision | Compare with Previous | Blame | View Log
package Discr18_Pkg is subtype Length is Natural range 0..256; type Multiple_Discriminants (A, B : Length) is tagged record S1 : String (1..A); S2 : String (1..B); end record; procedure Do_Something (Rec : in out Multiple_Discriminants); type Multiple_Discriminant_Extension (C : Length) is new Multiple_Discriminants (A => C, B => C) with record S3 : String (1..C); end record; end Discr18_Pkg;
Go to most recent revision | Compare with Previous | Blame | View Log