X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=testsuite%2Flibffi.call%2Fcls_sshort.c;h=8d63413318dc8697c34c82197617070d3ed6bbb4;hb=8c63892438fbb7ef754e55c60220dd02e7c8fd70;hp=e676c26da9888b97be7606f4551cb4c87898d6ba;hpb=056e203a7aec4c87c077192ad776b532a3d0305f;p=android-x86%2Fexternal-libffi.git diff --git a/testsuite/libffi.call/cls_sshort.c b/testsuite/libffi.call/cls_sshort.c index e676c26..8d63413 100644 --- a/testsuite/libffi.call/cls_sshort.c +++ b/testsuite/libffi.call/cls_sshort.c @@ -4,7 +4,7 @@ PR: none. Originator: 20031108 */ -/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */ +/* { dg-do run } */ #include "ffitest.h" static void cls_ret_sshort_fn(ffi_cif* cif __UNUSED__, void* resp, void** args, @@ -32,12 +32,12 @@ int main (void) pcl = &cl; #endif - cl_arg_types[0] = &ffi_type_sint16; + cl_arg_types[0] = &ffi_type_sshort; cl_arg_types[1] = NULL; /* Initialize the cif */ CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, - &ffi_type_sint16, cl_arg_types) == FFI_OK); + &ffi_type_sshort, cl_arg_types) == FFI_OK); CHECK(ffi_prep_closure(pcl, &cif, cls_ret_sshort_fn, NULL) == FFI_OK);