Author: marek
Date: 2007-01-02 06:49:55 -0500 (Tue, 02 Jan 2007)
New Revision: 70346

Added:
   trunk/mcs/errors/cs1685.cs
Modified:
   trunk/mcs/errors/cs0436.cs
Log:
New tests.

Modified: trunk/mcs/errors/cs0436.cs
===================================================================
--- trunk/mcs/errors/cs0436.cs  2007-01-02 11:49:04 UTC (rev 70345)
+++ trunk/mcs/errors/cs0436.cs  2007-01-02 11:49:55 UTC (rev 70346)
@@ -1,4 +1,4 @@
-// cs0436.cs: Ignoring imported type `System.Console' since the current 
assembly already has a declaration with the same name
+// CS0436: The type `System.Console' conflicts with the imported type 
`System.Console'. Ignoring the imported type definition
 // Line: 16
 // Compiler options: -warn:2 -warnaserror
 

Added: trunk/mcs/errors/cs1685.cs
===================================================================
--- trunk/mcs/errors/cs1685.cs  2007-01-02 11:49:04 UTC (rev 70345)
+++ trunk/mcs/errors/cs1685.cs  2007-01-02 11:49:55 UTC (rev 70346)
@@ -0,0 +1,8 @@
+// CS1685: The type `System.Int32' conflicts with the predefined type `int' 
and will be ignored
+// Line: 6
+// Compiler options: -warn:1 -warnaserror
+
+namespace System {
+       public struct Int32 {
+       }
+}


Property changes on: trunk/mcs/errors/cs1685.cs
___________________________________________________________________
Name: svn:eol-style
   + native

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

Reply via email to