diff options
author | Anthony Green <green@moxielogic.com> | 2013-02-07 09:57:20 -0500 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2013-02-07 09:57:20 -0500 |
commit | f3a4f3fdde89b04d66983a42a25d09161c5d4d54 (patch) | |
tree | 7c45f4c246d83dca8fc2206eade79914f948c717 /testsuite/libffi.call/cls_pointer_stack.c | |
parent | 522f8fef49848927482bc63c94afaea5b84e5ec1 (diff) | |
download | libffi-f3a4f3fdde89b04d66983a42a25d09161c5d4d54.tar.gz |
Fixes for AIX xlc compiler.
Diffstat (limited to 'testsuite/libffi.call/cls_pointer_stack.c')
-rw-r--r-- | testsuite/libffi.call/cls_pointer_stack.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/testsuite/libffi.call/cls_pointer_stack.c b/testsuite/libffi.call/cls_pointer_stack.c index e31139e..1f1d915 100644 --- a/testsuite/libffi.call/cls_pointer_stack.c +++ b/testsuite/libffi.call/cls_pointer_stack.c @@ -98,7 +98,7 @@ int main (void) void *code; ffi_closure* pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); void* args[3]; -// ffi_type cls_pointer_type; + /* ffi_type cls_pointer_type; */ ffi_type* arg_types[3]; /* cls_pointer_type.size = sizeof(void*); @@ -125,18 +125,18 @@ int main (void) ffi_call(&cif, FFI_FN(cls_pointer_fn1), &res, args); printf("res: 0x%08x\n", (unsigned int) res); - // { dg-output "\n0x01234567 0x89abcdef: 0x8acf1356" } - // { dg-output "\n0x8acf1356 0x01234567: 0x8bf258bd" } - // { dg-output "\nres: 0x8bf258bd" } + /* { dg-output "\n0x01234567 0x89abcdef: 0x8acf1356" } */ + /* { dg-output "\n0x8acf1356 0x01234567: 0x8bf258bd" } */ + /* { dg-output "\nres: 0x8bf258bd" } */ CHECK(ffi_prep_closure_loc(pcl, &cif, cls_pointer_gn, NULL, code) == FFI_OK); res = (ffi_arg)(uintptr_t)((void*(*)(void*, void*))(code))(arg1, arg2); printf("res: 0x%08x\n", (unsigned int) res); - // { dg-output "\n0x01234567 0x89abcdef: 0x8acf1356" } - // { dg-output "\n0x8acf1356 0x01234567: 0x8bf258bd" } - // { dg-output "\nres: 0x8bf258bd" } + /* { dg-output "\n0x01234567 0x89abcdef: 0x8acf1356" } */ + /* { dg-output "\n0x8acf1356 0x01234567: 0x8bf258bd" } */ + /* { dg-output "\nres: 0x8bf258bd" } */ exit(0); } |