projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Throw exception when trying to unlock unowned lock.
[mono.git]
/
mono
/
tests
/
libtest.c
diff --git
a/mono/tests/libtest.c
b/mono/tests/libtest.c
index 0154d608954f93d6ed2e6b6ee373f26cfa68c19d..924a643418f60d4ea9ebb708ae66474555a54e71 100644
(file)
--- a/
mono/tests/libtest.c
+++ b/
mono/tests/libtest.c
@@
-1290,6
+1290,16
@@
mono_test_empty_struct (int a, EmptyStruct es, int b)
#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;