projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
50bb223
)
Add new test
author
Miguel de Icaza
<miguel@gnome.org>
Fri, 12 Apr 2002 13:58:39 +0000
(13:58 -0000)
committer
Miguel 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]
patch
|
blob
diff --git a/mcs/tests/test-100.cs
b/mcs/tests/test-100.cs
new file mode 100755
(executable)
index 0000000..
da77cf3
--- /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;
+ }
+ }
+}