Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / libffi / testsuite / libffi.call / cls_align_longdouble_split2.c
index 63a0f76..ca1c356 100644 (file)
@@ -67,15 +67,15 @@ int main (void)
        ffi_type cls_struct_type;
        ffi_type* dbl_arg_types[3];
 
+       struct cls_struct_align g_dbl = { 1, 2, 3, 4, 5, 6, 7 };
+       struct cls_struct_align f_dbl = { 8, 9, 10, 11, 12, 13, 14 };
+       struct cls_struct_align 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;
 
-       struct cls_struct_align g_dbl = { 1, 2, 3, 4, 5, 6, 7 };
-       struct cls_struct_align f_dbl = { 8, 9, 10, 11, 12, 13, 14 };
-       struct cls_struct_align res_dbl;
-
        cls_struct_fields[0] = &ffi_type_longdouble;
        cls_struct_fields[1] = &ffi_type_longdouble;
        cls_struct_fields[2] = &ffi_type_longdouble;