projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ce9a00
)
Improve test
author
Miguel de Icaza
<miguel@gnome.org>
Thu, 19 Sep 2002 21:48:10 +0000
(21:48 -0000)
committer
Miguel de Icaza
<miguel@gnome.org>
Thu, 19 Sep 2002 21:48:10 +0000
(21:48 -0000)
svn path=/trunk/mcs/; revision=7628
mcs/tests/test-87.cs
patch
|
blob
|
history
diff --git
a/mcs/tests/test-87.cs
b/mcs/tests/test-87.cs
index 56c53c9c7ce783058382bbb2868cfe25b26d7451..aaa809f8bc4b153bed2ab7a5640c617d227189f8 100755
(executable)
--- a/
mcs/tests/test-87.cs
+++ b/
mcs/tests/test-87.cs
@@
-20,7
+20,7
@@
class Top {
int get_two ();
}
- class XA : A {
+
public
class XA : A {
public int get_one () { return 1; }
}
@@
-41,7
+41,22
@@
class Top {
return 2;
if (b.get_two () != 2)
return 3;
+
+ XB [] xb = null;
+
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;
+ }
+}