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/test-789.cs
parentc45cae8a26d869dc9db7513f0564229189ae03f7 (diff)
Implement compound assignment over null value
Diffstat (limited to 'mcs/tests/test-789.cs')
-rw-r--r--mcs/tests/test-789.cs17
1 files changed, 10 insertions, 7 deletions
diff --git a/mcs/tests/test-789.cs b/mcs/tests/test-789.cs
index c91de6fe9c6..ac3d1631503 100644
--- a/mcs/tests/test-789.cs
+++ b/mcs/tests/test-789.cs
@@ -1,10 +1,13 @@
using System;
-class Program {
- static void Main ()
- {
- Action action = () => Console.WriteLine (1);
- action += null;
- action ();
- }
+class Program
+{
+ static void Main ()
+ {
+ Action action = () => Console.WriteLine (1);
+ action += null;
+ action = null + action;
+ action = action + null;
+ action ();
+ }
}