X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftests%2Ftest-935.cs;h=6afe80eb0d024cfe07e01528e7d4c586509e5699;hb=51b93b6c23229e18f9e99db621ea3d733cee9f9d;hp=c47d89dc628e655e1a7f3f42a32a410dcd3491fb;hpb=b12385e9fdedd5b146d00a56687c886a647e1865;p=mono.git diff --git a/mcs/tests/test-935.cs b/mcs/tests/test-935.cs index c47d89dc628..6afe80eb0d0 100644 --- a/mcs/tests/test-935.cs +++ b/mcs/tests/test-935.cs @@ -15,6 +15,9 @@ public static class Program NN (0); NN2 (1); Complex (null); + MM (1); + MM ((byte) 1); + DecimalRule (() => (byte) 1); return 0; } @@ -71,4 +74,22 @@ public static class Program { throw new ApplicationException ("wrong overload"); } + + static void MM (double f) + { + } + + static void MM (double? f) + { + throw new ApplicationException ("wrong overload"); + } + + static void DecimalRule (Func i) + { + } + + static void DecimalRule (Func i) + { + throw new ApplicationException ("wrong overload"); + } } \ No newline at end of file