diff options
author | Anthony Green <green@moxielogic.com> | 2021-07-16 11:08:01 -0400 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2021-07-16 11:08:01 -0400 |
commit | 4ed23be8e2a59e438c201ca1ba5affc0b0477b15 (patch) | |
tree | 6f3e3378c838ab2e8b425b65512da209e8cc38af /testsuite | |
parent | eb2447249540ca568b0b464f6107501dcc0f65ab (diff) | |
download | libffi-4ed23be8e2a59e438c201ca1ba5affc0b0477b15.tar.gz |
Fix test check
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/libffi.call/return_sl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |