Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/nested_subtype_byref.adb @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
package body Nested_Subtype_Byref is type Data (Stamped : Boolean) is record case Stamped is when True => Valid : Boolean; when others => null; end case; end record; type Message is record F : Integer := 1; D : Data (Stamped => True); end record; procedure Check is M : Message; begin M.D.Valid := True; end; end;