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-05-19 23:16:34 +0400
committerMarek Safar <marek.safar@gmail.com>2010-05-19 23:16:34 +0400
commit0bf95f4e2aae37d85d503f3ce949feafb66a8b5d (patch)
treefc20d109c45e8bcc5043d92b651d8fe78f8415a3 /mcs/tests/test-772.cs
parent4b46bdbd6f247d29ba37b8486ea787ac79fb12e0 (diff)
New tests.
svn path=/trunk/mcs/; revision=157573
Diffstat (limited to 'mcs/tests/test-772.cs')
-rw-r--r--mcs/tests/test-772.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/mcs/tests/test-772.cs b/mcs/tests/test-772.cs
new file mode 100644
index 00000000000..ff94e1ca9d3
--- /dev/null
+++ b/mcs/tests/test-772.cs
@@ -0,0 +1,21 @@
+using System;
+
+public class Test
+{
+ static void Main ()
+ {
+ Foo fu = new Foo (null);
+ }
+}
+
+class Foo
+{
+ public Foo (object o)
+ {
+ throw new ApplicationException ("wrong ctor");
+ }
+
+ public Foo (string s, params object[] args)
+ {
+ }
+}