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>2009-07-13 19:26:47 +0400
committerMarek Safar <marek.safar@gmail.com>2009-07-13 19:26:47 +0400
commitd881c2fa146d3e3bf7c89d88938a46a79f5b49bd (patch)
tree13575228de489df59093cd1164e9d13b986a9ce5 /mcs/tests/test-723.cs
parente73cbbc60652a9ee330d152d4892ca29c1e2c543 (diff)
New tests.
svn path=/trunk/mcs/; revision=137782
Diffstat (limited to 'mcs/tests/test-723.cs')
-rw-r--r--mcs/tests/test-723.cs34
1 files changed, 34 insertions, 0 deletions
diff --git a/mcs/tests/test-723.cs b/mcs/tests/test-723.cs
new file mode 100644
index 00000000000..120716325cb
--- /dev/null
+++ b/mcs/tests/test-723.cs
@@ -0,0 +1,34 @@
+interface ICollectionValue
+{
+ int Count { get; }
+}
+
+interface ISCGCollection
+{
+ int Count { get; }
+}
+
+interface ICollection : ISCGCollection, ICollectionValue
+{
+ new int Count { get; }
+}
+
+interface ISequenced : ICollection
+{
+}
+
+class Test : ISequenced
+{
+ public int Count { get { return 0; } }
+}
+
+static class Maine
+{
+ public static int Main ()
+ {
+ ISequenced t = new Test ();
+ if (t.Count != 0)
+ return 1;
+ return 0;
+ }
+}