URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [discr8.adb] - Rev 484
Go to most recent revision | Compare with Previous | Blame | View Log
-- { dg-do compile } -- { dg-options "-gnatws" } package body Discr8 is procedure Make (C : out Local_T) is Tmp : Local_T (Tag_One); begin C := Tmp; end; package Iteration is type Message_T is record S : Local_T; end record; type Iterator_T is record S : Local_T; end record; type Access_Iterator_T is access Iterator_T; end Iteration; package body Iteration is procedure Construct (Iterator : in out Access_Iterator_T; Message : Message_T) is begin Iterator.S := Message.S; end; end Iteration; end Discr8;
Go to most recent revision | Compare with Previous | Blame | View Log