2004-02-02 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mono / tests / pinvoke12.cs
1 using System;
2 using System.Runtime.InteropServices;
3
4 class Hello
5 {
6         [DllImport("test", EntryPoint="mono_test_marshal_string_array")]
7         static extern void printhello (string [] array);
8
9         public static int Main ()
10         {
11                 // This throws a Null exception.
12                 // If we use double [] instead of string [] it works.
13                 printhello (null);
14                 return 0;
15         }
16 }
17