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:
authorMiguel de Icaza <miguel@gnome.org>2002-03-28 01:24:41 +0300
committerMiguel de Icaza <miguel@gnome.org>2002-03-28 01:24:41 +0300
commit8f18cb9acc7a6f015b3a2db86e06553bc94b2671 (patch)
tree350eae9f42bbc14a8d7163eb6afeb58b8418394f /mcs/tests/test-92.cs
parentf411b9c5d7264f4d0e91d0db6a7e5c02c0396254 (diff)
New test
svn path=/trunk/mcs/; revision=3410
Diffstat (limited to 'mcs/tests/test-92.cs')
-rwxr-xr-xmcs/tests/test-92.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/mcs/tests/test-92.cs b/mcs/tests/test-92.cs
new file mode 100755
index 00000000000..1de5aa71a7d
--- /dev/null
+++ b/mcs/tests/test-92.cs
@@ -0,0 +1,20 @@
+//
+// This test exposed a bug that Dan found:
+//
+// The InnerBase used to be the `builder' that was passed to InnerBase,
+// so even if InnerBase was a toplevel, it would be defined in the context
+// of being nested. Buggy.
+//
+class Outer {
+ class Inner : InnerBase {
+ }
+}
+
+abstract class InnerBase {
+}
+
+class MainClass {
+ public static int Main () {
+ return 0;
+ }
+}