summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/opt11.ads
blob: 983bf264302d6a5133e70a93650797016726ddd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package Opt11 is

   type String_Ptr is access constant String;

   type Form_Type is (Qualified, Unqualified);

   type Rec is record
      N1, N2, N3 : Natural;
      Fixed : String_Ptr;
      Form : Form_Type;
      Is_Local : Boolean := True;
   end record;
   pragma Pack (Rec);

   procedure Proc;

end Opt11;