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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [discr8.ads] - Rev 774

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

with Discr8_Pkg1; use Discr8_Pkg1;
 
package Discr8 is
 
  type Tag_T is (Tag_One, Tag_Two);
 
  type Local_T (Tag : Tag_T := Tag_One) is
    record
      case Tag is
        when Tag_One =>
          A : T;
          B : Integer;
        when Tag_Two =>
          null;
      end case;
    end record;
 
  procedure Make (C : out Local_T);
 
end Discr8;
 

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.