Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/ilasm/tests/test-pinvoke.c')
-rw-r--r--mcs/ilasm/tests/test-pinvoke.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/mcs/ilasm/tests/test-pinvoke.c b/mcs/ilasm/tests/test-pinvoke.c
new file mode 100644
index 00000000000..0436ac56cab
--- /dev/null
+++ b/mcs/ilasm/tests/test-pinvoke.c
@@ -0,0 +1,19 @@
+/**
+ * test-pinvoke.c: native functions for testing ilasm pinvoke
+ *
+ * Author(s):
+ * Jackson Harper (jackson@ximian.com)
+ *
+ * (C) 2003 Ximian, Inc (http://www.ximian.com)
+ *
+ */
+
+
+#include <stdio.h>
+#include <stdlib.h>
+
+int
+ret_one ()
+{
+ return 1;
+}