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:
Diffstat (limited to 'mcs/tests/test-87.cs')
-rwxr-xr-xmcs/tests/test-87.cs47
1 files changed, 0 insertions, 47 deletions
diff --git a/mcs/tests/test-87.cs b/mcs/tests/test-87.cs
deleted file mode 100755
index 56c53c9c7ce..00000000000
--- a/mcs/tests/test-87.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-//
-// Tests the lookup of names on nested classes.
-//
-// Tests nested interfaces
-//
-class Top {
-
- class X {
-
- }
-
- class Y : X {
- }
-
- interface A {
- int get_one ();
- }
-
- interface B : A {
- int get_two ();
- }
-
- class XA : A {
- public int get_one () { return 1; }
- }
-
- class XB : B {
- public int get_one () { return 1; }
- public int get_two () { return 2; }
- }
-
- static int Main ()
- {
- XA x = new XA ();
-
- if (x.get_one () != 1)
- return 1;
-
- XB b = new XB ();
- if (x.get_one () != 1)
- return 2;
- if (b.get_two () != 2)
- return 3;
- return 0;
- }
-}
-