2008-05-30 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gnat.dg / notnot.adb
blob3d4181aaaaacae4b373f82396719fd0f507226d4
1 -- { dg-do compile }
2 -- { dg-options "-gnatwr" }
4 procedure notnot (x, y : integer) is
5 begin
6 if not (not (x = y)) then -- { dg-warning "redundant double negation" }
7 return;
8 end if;
9 end;