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:
authorRavi Pratap M <ravi@mono-cvs.ximian.com>2002-05-07 21:07:36 +0400
committerRavi Pratap M <ravi@mono-cvs.ximian.com>2002-05-07 21:07:36 +0400
commit0fa4e6869e1f4a1fb03a7f960dc2d63e5156918d (patch)
tree399823e3ac88afbc16223dd866d826e7b5de6584 /mcs/tests/test-117.cs
parent8bfc0bfb2a81c8c734ef13250f355565ecd08816 (diff)
2002-05-07 Ravi Pratap <ravi@ximian.com>
* test-117.cs : Add. svn path=/trunk/mcs/; revision=4381
Diffstat (limited to 'mcs/tests/test-117.cs')
-rw-r--r--mcs/tests/test-117.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/mcs/tests/test-117.cs b/mcs/tests/test-117.cs
new file mode 100644
index 00000000000..d6745124677
--- /dev/null
+++ b/mcs/tests/test-117.cs
@@ -0,0 +1,28 @@
+using System;
+using System.Collections;
+
+public interface IFoo {
+
+}
+
+public class Blah : IFoo {
+
+ Hashtable table;
+
+ public Blah ()
+ {
+ table = new Hashtable ();
+ }
+
+ public static int Main ()
+ {
+ Blah b = new Blah ();
+
+ b.table.Add ("Ravi", (IFoo) b);
+
+ return 0;
+ }
+
+
+
+}