aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/warn30.adb
blob: 841c70eb22d626169b78c5e9165d9dcebb3e3dd2 (plain)
1
2
3
4
5
6
7
8
9
10
--  { dg-do compile }
--  { dg-options "-gnatwa" }
with Interfaces; use Interfaces;

package body Warn30 is
   procedure Incr (X : in out Interfaces.Integer_64) is
   begin
      X := X + 1;
   end Incr;
end Warn30;