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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [discr18.adb] - Rev 700

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

-- { dg-do compile }
 
with Discr18_Pkg; use Discr18_Pkg;
 
procedure Discr18 is
 
  String_10 : String (1..10) := "1234567890";
 
  MD : Multiple_Discriminants (A => 10, B => 10) :=
         Multiple_Discriminants'(A  => 10,
                                 B  => 10,
                                 S1 => String_10,
                                 S2 => String_10);
  MDE : Multiple_Discriminant_Extension (C => 10) :=
          (MD with C  => 10, S3 => String_10);
 
begin
  Do_Something(MDE);
end;
 

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

powered by: WebSVN 2.1.0

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