diff options
author | Marek Safar <marek.safar@gmail.com> | 2010-08-19 22:31:11 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2010-08-20 11:26:01 +0400 |
commit | de7b2843eb70d20ad7e9f585282519c8470fca7e (patch) | |
tree | 68aee2121f6bf87c402d445f2ae061fec0057426 /mcs/tests/dtest-014.cs | |
parent | d03f1e2e50f2a7d44dcc6e422828881d54c8e359 (diff) |
More dynamic conversion fixes
Diffstat (limited to 'mcs/tests/dtest-014.cs')
-rw-r--r-- | mcs/tests/dtest-014.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mcs/tests/dtest-014.cs b/mcs/tests/dtest-014.cs index aa19202b00b..f9a5cf867ab 100644 --- a/mcs/tests/dtest-014.cs +++ b/mcs/tests/dtest-014.cs @@ -1,3 +1,16 @@ +class A +{ + public static int operator != (A a, dynamic b) + { + return -1; + } + + public static int operator == (A a, dynamic b) + { + return +1; + } +} + public class C { public static bool operator == (C a, object b) |