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:
authorMartin Baulig <martin@novell.com>2004-04-28 20:31:50 +0400
committerMartin Baulig <martin@novell.com>2004-04-28 20:31:50 +0400
commitc5cbe53e8782c22a6ca1d1c4d638fe8f66248b35 (patch)
tree49d07f3c6582e5b07be384ecba42c832d25da1c8 /mcs/tests/test-243.cs
parent163540948457f20f5434492cc2572bc4a623feb1 (diff)
2004-04-27 Martin Baulig <martin@ximian.com>
* test-154.cs: Added test case for #52625. svn path=/trunk/mcs/; revision=26174
Diffstat (limited to 'mcs/tests/test-243.cs')
-rw-r--r--mcs/tests/test-243.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/mcs/tests/test-243.cs b/mcs/tests/test-243.cs
new file mode 100644
index 00000000000..b8c9e9a826c
--- /dev/null
+++ b/mcs/tests/test-243.cs
@@ -0,0 +1,21 @@
+// Bug #57014.
+using System;
+
+public class X {
+ public const string Address = null;
+
+ public static bool Resolve (string addr)
+ {
+ return true;
+ }
+
+ static string Test ()
+ {
+ return Address;
+ }
+
+ static void Main ()
+ {
+ Resolve (Address);
+ }
+}