Author: marek
Date: 2007-11-07 05:31:56 -0500 (Wed, 07 Nov 2007)
New Revision: 89086
Added:
trunk/mcs/errors/cs0184-3.cs
Log:
New test.
Added: trunk/mcs/errors/cs0184-3.cs
===================================================================
--- trunk/mcs/errors/cs0184-3.cs 2007-11-07 10:31:37 UTC (rev 89085)
+++ trunk/mcs/errors/cs0184-3.cs 2007-11-07 10:31:56 UTC (rev 89086)
@@ -0,0 +1,11 @@
+// CS0184: The given expression is never of the provided (`decimal') type
+// Line: 7
+// Compiler options: -warnaserror -warn:1
+
+class A
+{
+ static void Main ()
+ {
+ System.Console.WriteLine (1 is decimal);
+ }
+}
Property changes on: trunk/mcs/errors/cs0184-3.cs
___________________________________________________________________
Name: svn:eol-style
+ native
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches