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

Subversion Repositories openrisc

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

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

generic
 
  type User_T is private;
 
package Deferred_Const4_Pkg is
 
  type T is private;
 
  Null_T : constant T;
 
private
 
  type T (Valid : Boolean := False) is record
    case Valid is
      when True  => Value : User_T;
      when False => null;
    end case;
  end record;
 
  Null_T : constant T := (Valid => False);
 
end Deferred_Const4_Pkg;
 

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.