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>2008-11-10 21:55:59 +0300
committerMarek Safar <marek.safar@gmail.com>2008-11-10 21:55:59 +0300
commit3b7d3e9b26598715037e7968cfb333eed22caddb (patch)
tree3b3c1f5f7473a3fe8fd542c85471f83f3a716c89 /mcs/tests/gtest-424.cs
parent8253dbaf72084a38247f7e8fd44aa5777e5fa368 (diff)
New tests.
svn path=/trunk/mcs/; revision=118402
Diffstat (limited to 'mcs/tests/gtest-424.cs')
-rw-r--r--mcs/tests/gtest-424.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/mcs/tests/gtest-424.cs b/mcs/tests/gtest-424.cs
new file mode 100644
index 00000000000..97645dd02bc
--- /dev/null
+++ b/mcs/tests/gtest-424.cs
@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+public class A { }
+
+public class B : A { }
+
+public class Test
+{
+ public static void Block (params A[] expressions)
+ {
+ throw new ApplicationException ();
+ }
+
+ public static void Block (IEnumerable<B> variables, params A[] expressions)
+ {
+ }
+
+ public static int Main ()
+ {
+ A e = new A ();
+ Block (new B[] { }, e);
+ return 0;
+ }
+}