Author: marek
Date: 2008-01-22 10:47:48 -0500 (Tue, 22 Jan 2008)
New Revision: 93540

Added:
   trunk/mcs/errors/gcs1503-4.cs
Log:
New test.



Added: trunk/mcs/errors/gcs1503-4.cs
===================================================================
--- trunk/mcs/errors/gcs1503-4.cs       2008-01-22 15:47:33 UTC (rev 93539)
+++ trunk/mcs/errors/gcs1503-4.cs       2008-01-22 15:47:48 UTC (rev 93540)
@@ -0,0 +1,14 @@
+// CS1503: Argument 1: Cannot convert type `bool' to `int'
+// Line: 12
+
+public class C
+{
+       static void Foo<T>(T t)
+       {
+       }
+       
+       public static void Main ()
+       {
+               Foo<int> (true);
+       }
+}

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to