URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [discr8.adb] - Rev 399
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