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:
authorGert Driesen <drieseng@users.sourceforge.net>2007-09-26 21:53:51 +0400
committerGert Driesen <drieseng@users.sourceforge.net>2007-09-26 21:53:51 +0400
commit0531abbfc9b7a4786368f1ba982b0044c9d72648 (patch)
tree2ef1d3613720975a37a1a31a44caa30ea63b855f /mcs/tests/test-588.cs
parent237d5ff86f91e96a74db84412eb4ac077f93a63c (diff)
* test-587.cs: test for bug #328136.
* test-588.cs: test for bug #328490. * known-issues-gmcs: added test-587.cs and test-588.cs. * known-issues-mcs: added test-587.cs and test-588.cs. svn path=/trunk/mcs/; revision=86423
Diffstat (limited to 'mcs/tests/test-588.cs')
-rw-r--r--mcs/tests/test-588.cs38
1 files changed, 38 insertions, 0 deletions
diff --git a/mcs/tests/test-588.cs b/mcs/tests/test-588.cs
new file mode 100644
index 00000000000..7c7bf4529d5
--- /dev/null
+++ b/mcs/tests/test-588.cs
@@ -0,0 +1,38 @@
+using System;
+using TestNamespace;
+
+namespace TestNamespace
+{
+ public class TestClass
+ {
+ public static void HelloWorld ()
+ {
+ }
+ }
+}
+
+class SuperClass
+{
+ TestClass tc = null;
+
+ TestClass TestClass
+ {
+ get { return tc; }
+ }
+}
+
+class SubClass : SuperClass
+{
+ public SubClass ()
+ {
+ TestClass.HelloWorld ();
+ }
+}
+
+class App
+{
+ public static void Main ()
+ {
+ SubClass sc = new SubClass ();
+ }
+}