Author: marek
Date: 2007-12-21 04:54:56 -0500 (Fri, 21 Dec 2007)
New Revision: 91758
Added:
trunk/mcs/errors/cs1503-3.cs
Log:
New test.
Added: trunk/mcs/errors/cs1503-3.cs
===================================================================
--- trunk/mcs/errors/cs1503-3.cs 2007-12-21 09:45:57 UTC (rev 91757)
+++ trunk/mcs/errors/cs1503-3.cs 2007-12-21 09:54:56 UTC (rev 91758)
@@ -0,0 +1,14 @@
+// CS1503: Argument 1: Cannot convert type `int[]' to `int'
+// Line: 12
+
+class C
+{
+ static void Foo (params int[] i)
+ {
+ }
+
+ public static void Main ()
+ {
+ Foo (new int[1], 1);
+ }
+}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches