Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/nested_subtype_byref.adb @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
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;