diff options
author | Marek Safar <marek.safar@gmail.com> | 2009-07-13 19:26:47 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2009-07-13 19:26:47 +0400 |
commit | d881c2fa146d3e3bf7c89d88938a46a79f5b49bd (patch) | |
tree | 13575228de489df59093cd1164e9d13b986a9ce5 /mcs/tests/test-723.cs | |
parent | e73cbbc60652a9ee330d152d4892ca29c1e2c543 (diff) |
New tests.
svn path=/trunk/mcs/; revision=137782
Diffstat (limited to 'mcs/tests/test-723.cs')
-rw-r--r-- | mcs/tests/test-723.cs | 34 |
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; + } +} |