summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/specs/pack2.ads
blob: 7272048a1bd4032b054d97dc2d4ae2354b1600f6 (plain)
1
2
3
4
5
6
7
8
9
10
-- { dg-do compile }

package Pack2 is 
   type Rec is record
       Ptr: access Character;
       Int :Integer;
   end record;
   type Table is array (1..2) of rec;
   pragma Pack (Table);
end Pack2;