diff options
author | Richard Guenther <rguenther@suse.de> | 2007-07-26 09:13:58 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2007-07-26 09:13:58 +0000 |
commit | 0ee0208eccd3d707d8accf2626cbe934faa7cecd (patch) | |
tree | 199825a724d4e56f4d9a394f86e5b1a8af931f98 /libffi/testsuite/libffi.call | |
parent | 2b980e3ebc014ae849717755c0a8f3d5d83b2ec0 (diff) |
re PR testsuite/32843 (libffi.call/return_sc.c)
2007-07-26 Richard Guenther <rguenther@suse.de>
PR testsuite/32843
* testsuite/libffi.call/return_sc.c (main): Verify call
result as signed char, not ffi_arg.
From-SVN: r126950
Diffstat (limited to 'libffi/testsuite/libffi.call')
-rw-r--r-- | libffi/testsuite/libffi.call/return_sc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libffi/testsuite/libffi.call/return_sc.c b/libffi/testsuite/libffi.call/return_sc.c index 19608ee7c8b..ddb26778695 100644 --- a/libffi/testsuite/libffi.call/return_sc.c +++ b/libffi/testsuite/libffi.call/return_sc.c @@ -30,7 +30,7 @@ int main (void) sc < (signed char) 127; sc++) { ffi_call(&cif, FFI_FN(return_sc), &rint, values); - CHECK(rint == (ffi_arg) sc); + CHECK((signed char) rint == sc); } exit(0); } |