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:
authorMarek Safar <marek.safar@gmail.com>2011-04-04 16:31:11 +0400
committerMarek Safar <marek.safar@gmail.com>2011-04-04 16:31:53 +0400
commit185a28af3b48106c0c224d5a518f04d9107ae674 (patch)
treeb7ef77347c95eec3fae722af1bb1b7e7fd24f14f /mcs/tests/test-822.cs
parent8704cefac0e8f48796375c46b743da8266f72dbd (diff)
[684600] Treat all value types equally
Diffstat (limited to 'mcs/tests/test-822.cs')
-rw-r--r--mcs/tests/test-822.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/tests/test-822.cs b/mcs/tests/test-822.cs
new file mode 100644
index 00000000000..700ec95fd39
--- /dev/null
+++ b/mcs/tests/test-822.cs
@@ -0,0 +1,14 @@
+// Compiler options: -r:test-822-lib.dll
+
+using System;
+
+class Test
+{
+ public static int Main ()
+ {
+ B b = new B ();
+ b.Prop = 1;
+ int a = b.Prop;
+ return 0;
+ }
+}