URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gnat.dg/] [prefix2.ads] - Rev 384
Compare with Previous | Blame | View Log
package prefix2 is type Coordonnee is range -100 .. 100; type Instance is abstract tagged private; subtype Class is Instance'Class; procedure Positionne (Objet : in out Instance; X, Y : Coordonnee); function RetourneX (Objet : in Instance) return Coordonnee; function RetourneY (Objet : in Instance) return Coordonnee; procedure Allume (Objet : in Instance) is abstract; procedure Eteins (Objet : in Instance) is abstract; procedure Affiche (Objet : in Class; EstVisible : Boolean); procedure Deplace (Objet : in out Class; DX, DY : Coordonnee); private type Instance is abstract tagged record X, Y : Coordonnee := 0; end record; end;