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/] [discr21_pkg.ads] - Diff between revs 304 and 384

Only display areas with differences | Details | Blame | View Log

Rev 304 Rev 384
package Discr21_Pkg is
package Discr21_Pkg is
 
 
  type Position is record
  type Position is record
    x,y,z : Float;
    x,y,z : Float;
  end record;
  end record;
 
 
  type Dim is (Two, Three);
  type Dim is (Two, Three);
 
 
  type VPosition (D: Dim := Three) is record
  type VPosition (D: Dim := Three) is record
    x, y : Float;
    x, y : Float;
    case D is
    case D is
      when Two => null;
      when Two => null;
      when Three => z : Float;
      when Three => z : Float;
    end case;
    end case;
  end record;
  end record;
 
 
  function To_Position (x, y, z : Float) return VPosition;
  function To_Position (x, y, z : Float) return VPosition;
 
 
end Discr21_Pkg;
end Discr21_Pkg;
 
 

powered by: WebSVN 2.1.0

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