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>2013-07-25 19:19:37 +0400
committerMarek Safar <marek.safar@gmail.com>2013-07-25 19:23:25 +0400
commit0497877695cf855f6b35c1e370f85079b14c0d4b (patch)
treebb5e3d83d74dcae50c9629a77918ccf3dde5b94f /mcs/tests/test-591.cs
parent1022c507525d46416fcd6029121e66ac5cb85a07 (diff)
Fixed string null constant conversion to object constant
Diffstat (limited to 'mcs/tests/test-591.cs')
-rw-r--r--mcs/tests/test-591.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/mcs/tests/test-591.cs b/mcs/tests/test-591.cs
index 51508f72993..22f10ac7d20 100644
--- a/mcs/tests/test-591.cs
+++ b/mcs/tests/test-591.cs
@@ -15,10 +15,12 @@ class C1
class C2
{
+ const object o2 = c2;
+ const string c2 = null;
+
public static void Main ()
{
- // BUG compatibility for now
- //const object o = null;
- //const string s = (string) o;
+ const object o = null;
+ const string s = (string) o;
}
}