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

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

Rev 304 Rev 384
-- { dg-do compile }
-- { dg-do compile }
 
 
with Ada.Tags.Generic_Dispatching_Constructor;
with Ada.Tags.Generic_Dispatching_Constructor;
package body Graphic is
package body Graphic is
--
--
  function Dispatching_Input is new Tags.Generic_Dispatching_Constructor
  function Dispatching_Input is new Tags.Generic_Dispatching_Constructor
    (T           => Object,
    (T           => Object,
     Parameters  => Streams.Root_Stream_Type'Class,
     Parameters  => Streams.Root_Stream_Type'Class,
    Constructor => Object'Input);
    Constructor => Object'Input);
--
--
  function XML_Input
  function XML_Input
    (S : access Streams.Root_Stream_Type'Class) return Object'Class
    (S : access Streams.Root_Stream_Type'Class) return Object'Class
  is
  is
    Result : constant Object'Class :=
    Result : constant Object'Class :=
        Dispatching_Input (Tags.Internal_Tag (" "), S);
        Dispatching_Input (Tags.Internal_Tag (" "), S);
    begin
    begin
      return Result;
      return Result;
    end XML_Input;
    end XML_Input;
end Graphic;
end Graphic;
 
 
 
 

powered by: WebSVN 2.1.0

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