Commit 4ed23be8e2a59e438c201ca1ba5affc0b0477b15

Anthony Green 2021-07-16T11:08:01

Fix test check

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/testsuite/libffi.call/return_sl.c b/testsuite/libffi.call/return_sl.c
index 4fe5e9a..337236f 100644
--- a/testsuite/libffi.call/return_sl.c
+++ b/testsuite/libffi.call/return_sl.c
@@ -36,7 +36,7 @@ int main (void)
   printf("res: %ld, %ld\n", (long)res, l1 - l2);
   /* { dg-output "res: -1, -1" } */
   CHECK(res == -1);
-  CHECK(l1 - l2 == -1);
+  CHECK(l1 + 1 == l2);
 
   exit(0);
 }