summaryrefslogtreecommitdiff
path: root/ext/ffi_c/libffi/testsuite/libffi.call/testclosure.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ffi_c/libffi/testsuite/libffi.call/testclosure.c')
-rw-r--r--ext/ffi_c/libffi/testsuite/libffi.call/testclosure.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ffi_c/libffi/testsuite/libffi.call/testclosure.c b/ext/ffi_c/libffi/testsuite/libffi.call/testclosure.c
index 161cc89..ca31056 100644
--- a/ext/ffi_c/libffi/testsuite/libffi.call/testclosure.c
+++ b/ext/ffi_c/libffi/testsuite/libffi.call/testclosure.c
@@ -43,13 +43,13 @@ int main (void)
ffi_type cls_struct_type0;
ffi_type* dbl_arg_types[5];
+ struct cls_struct_combined g_dbl = {4.0, 5.0, 1.0, 8.0};
+
cls_struct_type0.size = 0;
cls_struct_type0.alignment = 0;
cls_struct_type0.type = FFI_TYPE_STRUCT;
cls_struct_type0.elements = cls_struct_fields0;
- struct cls_struct_combined g_dbl = {4.0, 5.0, 1.0, 8.0};
-
cls_struct_fields0[0] = &ffi_type_float;
cls_struct_fields0[1] = &ffi_type_float;
cls_struct_fields0[2] = &ffi_type_float;