summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/specs/warnstar.ads
blob: 325cbb6f329e970c66158d666cb96ab3cb392b5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--  { dg-do compile }

pragma Warnings (Off, "*bits of*unused");
package warnstar is
   type r is record
      a : integer;
   end record;
   
   for r use record
      a at 0 range 0 .. 1023;
   end record;
end warnstar;