#endif
}
+LIBTEST_API EmptyStruct STDCALL
+mono_test_return_empty_struct (int a)
+{
+ EmptyStruct s;
+
+ g_assert (a == 42);
+
+ return s;
+}
+
typedef struct {
char a[100];
} ByValStrStruct;
if (a1->A != 42)
return 8;
- if (!fabs (a1->B - 3.1415) < 0.001)
+ if (!(fabs (a1->B - 3.1415) < 0.001))
return 9;
break;
if (a1->A != 42)
return 5;
- if (!fabs (a1->B - 3.1415) < 0.001)
+ if (!(fabs (a1->B - 3.1415) < 0.001))
return 6;
break;