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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [graphic.adb] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 304 jeremybenn
-- { dg-do compile }
2
 
3
with Ada.Tags.Generic_Dispatching_Constructor;
4
package body Graphic is
5
--
6
  function Dispatching_Input is new Tags.Generic_Dispatching_Constructor
7
    (T           => Object,
8
     Parameters  => Streams.Root_Stream_Type'Class,
9
    Constructor => Object'Input);
10
--
11
  function XML_Input
12
    (S : access Streams.Root_Stream_Type'Class) return Object'Class
13
  is
14
    Result : constant Object'Class :=
15
        Dispatching_Input (Tags.Internal_Tag (" "), S);
16
    begin
17
      return Result;
18
    end XML_Input;
19
end Graphic;
20
 

powered by: WebSVN 2.1.0

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