Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/nested_subtype_byref.adb @ 140:4e440907fcbf
copy CbC goto flang in cfgexpand
remove some CbC unnecessary code
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 14 Nov 2018 00:24:45 +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;