Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / test-100.cs
1 namespace GLib {
2
3         using System;
4         using System.Runtime.InteropServices;
5
6         public class Object  {
7                 int v;
8
9                 protected int Raw {
10                         get {
11                                 return 1;
12                         }
13                         set {
14                                 v = value;
15                         }
16                 }       
17
18                 [DllImport("bah", CallingConvention=CallingConvention.Cdecl)]
19                 static extern void g_object_get (int obj);
20
21                 public void GetProperty ()
22                 {
23                         g_object_get (Raw);
24                 }
25
26                 public static int Main ()
27                 {
28                         return 0;
29                 }
30         }
31 }