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>2010-10-01 20:48:33 +0400
committerMarek Safar <marek.safar@gmail.com>2010-10-01 22:39:01 +0400
commit76368b52590d0f61794a0f5e5d824e7c9488d7a3 (patch)
tree466121a1cd7a1757cc6562524118cccc9f923278 /mcs/tests/dtest-033.cs
parentc45cae8a26d869dc9db7513f0564229189ae03f7 (diff)
Implement compound assignment over null value
Diffstat (limited to 'mcs/tests/dtest-033.cs')
-rw-r--r--mcs/tests/dtest-033.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/mcs/tests/dtest-033.cs b/mcs/tests/dtest-033.cs
index 8a0f13b93d3..fc2d9aa5d8b 100644
--- a/mcs/tests/dtest-033.cs
+++ b/mcs/tests/dtest-033.cs
@@ -24,6 +24,11 @@ public class Test
if (v != "a-sdfas")
return 1;
+
+ dynamic d2 = null;
+ d2 += "a";
+ if (d2 != "a")
+ return 2;
byte b = 4;
a.Prop *= b;