aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/warn20.adb
blob: 90fbf3200af0c9a20bbc20279863bc839404137f (plain)
1
2
3
4
5
6
7
8
9
10
11
--  { dg-do compile }
--  { dg-options "-gnatwa" }

with Warn20_Pkg;

procedure Warn20 is
   package P is new Warn20_Pkg (Integer, 0);
   pragma Unreferenced (P);
begin
   null;
end Warn20;