Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gnat.dg/opt58_pkg.ads @ 138:fc828634a951
merge
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 08 Nov 2018 14:17:14 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 with System; use System; |
2 | |
3 package Opt58_Pkg is | |
4 | |
5 pragma Pure (Opt58_Pkg); | |
6 | |
7 type Small_Int is range 0 .. 255; | |
8 | |
9 type Rec is record | |
10 D1, D2, D3, D4 : Small_Int; | |
11 end record; | |
12 pragma Pack (Rec); | |
13 for Rec'Size use 32; | |
14 | |
15 function F1 (R : Rec) return Small_Int; | |
16 | |
17 function F2 (A : Address; B : Boolean) return Boolean; | |
18 | |
19 end Opt58_Pkg; |