PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gnat.dg / opt58_pkg.ads
blob9cb7f3a2540f65ee7ed024aca367bc61662f2d55
1 with System; use System;
3 package Opt58_Pkg is
5 pragma Pure (Opt58_Pkg);
7 type Small_Int is range 0 .. 255;
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;
15 function F1 (R : Rec) return Small_Int;
17 function F2 (A : Address; B : Boolean) return Boolean;
19 end Opt58_Pkg;