summaryrefslogtreecommitdiffstats
path: root/testsuite/tests/lib-dynlink-csharp/main.cs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/lib-dynlink-csharp/main.cs')
-rwxr-xr-xtestsuite/tests/lib-dynlink-csharp/main.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/lib-dynlink-csharp/main.cs b/testsuite/tests/lib-dynlink-csharp/main.cs
new file mode 100755
index 000000000..a03bfd60a
--- /dev/null
+++ b/testsuite/tests/lib-dynlink-csharp/main.cs
@@ -0,0 +1,11 @@
+using System.Runtime.InteropServices;
+
+public class M {
+ [DllImport("main.dll")]
+ public static extern void start_caml_engine();
+
+ public static void Main() {
+ System.Console.WriteLine("Now starting the Caml engine.");
+ start_caml_engine();
+ }
+}