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:
authorMiguel de Icaza <miguel@gnome.org>2002-04-12 17:58:39 +0400
committerMiguel de Icaza <miguel@gnome.org>2002-04-12 17:58:39 +0400
commit45e6ca75646e2f7673c04f3e395d53bc8041266b (patch)
tree80120db108fbc393d1f82a97f7a58387b514f7e6 /mcs/tests/test-100.cs
parent50bb223ddba7ad857fdef2c2d6cdad525ddd3856 (diff)
Add new test
svn path=/trunk/mcs/; revision=3773
Diffstat (limited to 'mcs/tests/test-100.cs')
-rwxr-xr-xmcs/tests/test-100.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/mcs/tests/test-100.cs b/mcs/tests/test-100.cs
new file mode 100755
index 00000000000..da77cf3cdda
--- /dev/null
+++ b/mcs/tests/test-100.cs
@@ -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;
+ }
+ }
+}