Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/incomplete6.ads @ 143:76e1cf5455ef
add cbc_gc test
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 23 Dec 2018 19:24:05 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
with Ada.Unchecked_Conversion; package Incomplete6 is type Vint; function "=" (Left, Right : Vint) return Boolean; type Vint is record Value : Integer; end record; function To_Integer is new Ada.Unchecked_Conversion(Source => Vint, Target => Integer); type Vfloat; function "=" (Left, Right : in Vfloat) return Boolean; type Vfloat is record Value : Float; end record; end;