Add new test
authorMiguel de Icaza <miguel@gnome.org>
Fri, 12 Apr 2002 13:58:39 +0000 (13:58 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Fri, 12 Apr 2002 13:58:39 +0000 (13:58 -0000)
svn path=/trunk/mcs/; revision=3773

mcs/tests/test-100.cs [new file with mode: 0755]

diff --git a/mcs/tests/test-100.cs b/mcs/tests/test-100.cs
new file mode 100755 (executable)
index 0000000..da77cf3
--- /dev/null
@@ -0,0 +1,31 @@
+namespace GLib {
+
+       using System;
+       using System.Runtime.InteropServices;
+
+       public class Object  {
+               int v;
+
+               protected int Raw {
+                       get {
+                               return 1;
+                       }
+                       set {
+                               v = value;
+                       }
+               }       
+
+               [DllImport("bah", CallingConvention=CallingConvention.Cdecl)]
+               static extern void g_object_get (int obj);
+
+               public void GetProperty ()
+               {
+                       g_object_get (Raw);
+               }
+
+               static int Main ()
+               {
+                       return 0;
+               }
+       }
+}