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:
authorMiguel de Icaza <miguel@gnome.org>2004-10-05 18:32:51 +0400
committerMiguel de Icaza <miguel@gnome.org>2004-10-05 18:32:51 +0400
commitc3ea191f0ea46b26add57aca3c808d04ffd2553a (patch)
tree6df3f9861d368503eb50f442fafc6c134ac81972 /mcs/tests/test-259.cs
parent5451ab0192ab1f2e0781021754b92ef25982ad36 (diff)
Improve test to handle constants of classes whose value is null
svn path=/trunk/mcs/; revision=34723
Diffstat (limited to 'mcs/tests/test-259.cs')
-rw-r--r--mcs/tests/test-259.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/mcs/tests/test-259.cs b/mcs/tests/test-259.cs
index 2cf1ae57eeb..55f6beb4f12 100644
--- a/mcs/tests/test-259.cs
+++ b/mcs/tests/test-259.cs
@@ -5,6 +5,9 @@ public class Testing
public enum INT : int { Zero }
public const INT JPEG_SUSPENDED = (INT)0;
public const INT JPEG_HEADER_OK = (INT)1;
+
+ // Test that we can have a null value here
+ public const Testing testing = null;
public static void Main()
{ }