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>2010-04-27 12:01:17 +0400
committerMarek Safar <marek.safar@gmail.com>2010-04-27 12:01:17 +0400
commit2d23bfcbce7a3f7e54dcd5911adb88b244baca35 (patch)
tree38ff73243b22aacdc7e3caa52e3dd2ba74fe6e0a /mcs/tests/test-746.cs
parent1bc916c295445e56c74e8550a1ff1fd0bdfbf0dd (diff)
parentc29282519b48d5fbfd73dd2bd1306a7844174f29 (diff)
New tests.
svn path=/trunk/mcs/; revision=156162
Diffstat (limited to 'mcs/tests/test-746.cs')
-rw-r--r--mcs/tests/test-746.cs34
1 files changed, 34 insertions, 0 deletions
diff --git a/mcs/tests/test-746.cs b/mcs/tests/test-746.cs
new file mode 100644
index 00000000000..49c1d88ca32
--- /dev/null
+++ b/mcs/tests/test-746.cs
@@ -0,0 +1,34 @@
+// Compiler options: -warnaserror -warn:4
+
+using System;
+
+interface IList
+{
+ int Count { get; set; }
+}
+
+interface ICounter
+{
+ void Count (int i);
+}
+
+interface IEx
+{
+ void Count (params int[] i);
+}
+
+interface IListCounter: IEx, IList, ICounter
+{
+}
+
+class Test
+{
+ static void Foo (IListCounter t)
+ {
+ t.Count (1);
+ }
+
+ public static void Main ()
+ {
+ }
+}