summaryrefslogtreecommitdiff
path: root/string/test-ffs.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/test-ffs.c')
-rw-r--r--string/test-ffs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/string/test-ffs.c b/string/test-ffs.c
index bbe62786e0..ef40171551 100644
--- a/string/test-ffs.c
+++ b/string/test-ffs.c
@@ -43,6 +43,8 @@ DEFUN(main, (argc, argv),
try (0, 0);
for (i=0 ; i<32 ; i++)
try (1<<i, i+1);
+ for (i=0 ; i<32 ; i++)
+ try ((~0 >> i) << i, i+1);
try (0x80008000, 16);
if (failures)