Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/discr8.adb @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
-- { 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;