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:
authorMarek Safar <marek.safar@gmail.com>2006-08-10 00:27:45 +0400
committerMarek Safar <marek.safar@gmail.com>2006-08-10 00:27:45 +0400
commitf95d6dbd9f5068ec47cbbcd787eba446395cf12b (patch)
tree7c404fe1fe71d566603ae4284d5ad088c8d3556b /mcs/tests/test-526.cs
parent37feb887da838e41b8a6a99796bdf8e19cf5e382 (diff)
Add more tests.
svn path=/trunk/mcs/; revision=63561
Diffstat (limited to 'mcs/tests/test-526.cs')
-rw-r--r--mcs/tests/test-526.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/tests/test-526.cs b/mcs/tests/test-526.cs
index eab31d1867e..ad3983c8385 100644
--- a/mcs/tests/test-526.cs
+++ b/mcs/tests/test-526.cs
@@ -35,6 +35,16 @@ interface IBB : IList, ICounter
interface ICC : IBB
{
+}
+
+interface IM1
+{
+ void Add (int arg);
+}
+
+interface IM2 : IM1
+{
+ int Add (int arg, bool now);
}
class Test
@@ -56,6 +66,11 @@ class Test
void Foo3 (ICC c)
{
c.Count ();
+ }
+
+ void Foo4 (IM2 im2)
+ {
+ im2.Add (2);
}
} \ No newline at end of file