OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gnat.dg/] [discr10.ads] - Diff between revs 304 and 384

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 304 Rev 384
package Discr10 is
package Discr10 is
 
 
   subtype Index is Natural range 0 .. 150;
   subtype Index is Natural range 0 .. 150;
 
 
   type List is array (Index range <>) of Integer;
   type List is array (Index range <>) of Integer;
 
 
   type R (D1 : Boolean := True; D2 : Boolean := False; D3 : Index := 0) is
   type R (D1 : Boolean := True; D2 : Boolean := False; D3 : Index := 0) is
   record
   record
      case D2 is
      case D2 is
         when True =>
         when True =>
            L : List (1 .. D3);
            L : List (1 .. D3);
            case D1 is
            case D1 is
               when True => I : Integer;
               when True => I : Integer;
               when False => null;
               when False => null;
            end case;
            end case;
         when False =>
         when False =>
            null;
            null;
      end case;
      end case;
   end record;
   end record;
 
 
   function Get (X : R) return R;
   function Get (X : R) return R;
 
 
end Discr10;
end Discr10;
 
 

powered by: WebSVN 2.1.0

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