summaryrefslogtreecommitdiff
path: root/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c
diff options
context:
space:
mode:
authortduehr <tduehr@gmail.com>2015-03-19 16:44:33 -0700
committertduehr <tduehr@gmail.com>2015-06-17 09:01:47 -0500
commite9d07620ae8ac090863998d22ab7ca0db9cd1e89 (patch)
treeba0c75a8e11e88123926cb9817a3bb0a7c1b157b /ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c
parent194784d60f53e242a8aab88c216126785dc047dd (diff)
downloadffi-e9d07620ae8ac090863998d22ab7ca0db9cd1e89.tar.gz
update libffilibffi-3.2.1
Diffstat (limited to 'ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c')
-rw-r--r--ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c b/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c
index cb2f2fb..84323d1 100644
--- a/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c
+++ b/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c
@@ -69,17 +69,17 @@ int main (void)
ffi_type cls_struct_type;
ffi_type* dbl_arg_types[5];
- cls_struct_type.size = 0;
- cls_struct_type.alignment = 0;
- cls_struct_type.type = FFI_TYPE_STRUCT;
- cls_struct_type.elements = cls_struct_fields;
-
struct_72byte e_dbl = { 9.0, 2.0, 6.0, 5.0, 3.0, 4.0, 8.0, 1.0, 7 };
struct_72byte f_dbl = { 1.0, 2.0, 3.0, 7.0, 2.0, 5.0, 6.0, 7.0, 4 };
struct_72byte g_dbl = { 4.0, 5.0, 7.0, 9.0, 1.0, 1.0, 2.0, 9.0, 3 };
struct_72byte h_dbl = { 8.0, 6.0, 1.0, 4.0, 0.0, 3.0, 3.0, 1.0, 2 };
struct_72byte res_dbl;
+ cls_struct_type.size = 0;
+ cls_struct_type.alignment = 0;
+ cls_struct_type.type = FFI_TYPE_STRUCT;
+ cls_struct_type.elements = cls_struct_fields;
+
cls_struct_fields[0] = &ffi_type_double;
cls_struct_fields[1] = &ffi_type_double;
cls_struct_fields[2] = &ffi_type_double;