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-09-20 19:08:46 +0400
committerMarek Safar <marek.safar@gmail.com>2010-09-20 19:10:43 +0400
commit8881d43ffd330b8323756a2e12f648761cde1d3f (patch)
treefed2d0f6a77ac1e713fa8a83b8ce4fe44069f58e /mcs/tests/dtest-028.cs
parentf965a1facf3c2d59660ebfab241738e7b54068e7 (diff)
Don't check inferred dynamic type arguments against best candidate constraints.
Diffstat (limited to 'mcs/tests/dtest-028.cs')
-rw-r--r--mcs/tests/dtest-028.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/mcs/tests/dtest-028.cs b/mcs/tests/dtest-028.cs
index 65b6b1a7ac3..94c33799bde 100644
--- a/mcs/tests/dtest-028.cs
+++ b/mcs/tests/dtest-028.cs
@@ -13,6 +13,10 @@ class C
public class Test
{
+ static void M (ref dynamic[] d, ref object[] o)
+ {
+ }
+
public static int Main ()
{
dynamic d = new C ();
@@ -27,6 +31,9 @@ public class Test
if (u != 40)
return 2;
+ object[] o = null;
+ M (ref o, ref o);
+
return 0;
}
}