projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* TreeView.cs: Use dashed lines to connect nodes. Use the
[mono.git]
/
mcs
/
tests
/
test-87.cs
diff --git
a/mcs/tests/test-87.cs
b/mcs/tests/test-87.cs
old mode 100755
(executable)
new mode 100644
(file)
index
56c53c9
..
aaa809f
--- a/
mcs/tests/test-87.cs
+++ b/
mcs/tests/test-87.cs
@@
-20,7
+20,7
@@
class Top {
int get_two ();
}
int get_two ();
}
- class XA : A {
+
public
class XA : A {
public int get_one () { return 1; }
}
public int get_one () { return 1; }
}
@@
-41,7
+41,22
@@
class Top {
return 2;
if (b.get_two () != 2)
return 3;
return 2;
if (b.get_two () != 2)
return 3;
+
+ XB [] xb = null;
+
return 0;
}
}
return 0;
}
}
+
+//
+// The following tests that the compiler will actually properly
+// find the types that are requested (they are nested types)
+//
+class Other {
+ public void X ()
+ {
+ Top.XA xa = null;
+ Top.XA [] xb = null;
+ }
+}