(root)/
gcc-13.2.0/
gcc/
testsuite/
gnat.dg/
notnot.adb
--  { dg-do compile }
--  { dg-options "-gnatwr" }

procedure notnot (x, y : integer) is
begin
   if not (not (x = y)) then  -- { dg-warning "redundant double negation" }
      return;
   end if;
end;