Author: marek
Date: 2005-07-25 06:07:36 -0400 (Mon, 25 Jul 2005)
New Revision: 47635

Added:
   trunk/mcs/errors/CS2015-lib.cs
   trunk/mcs/errors/cs0277.cs
   trunk/mcs/errors/cs0536-2.cs
   trunk/mcs/errors/cs2015.cs
Modified:
   trunk/mcs/errors/Makefile
   trunk/mcs/errors/known-issues-gmcs
Log:
new tests

Added: trunk/mcs/errors/CS2015-lib.cs
===================================================================
--- trunk/mcs/errors/CS2015-lib.cs      2005-07-25 09:57:55 UTC (rev 47634)
+++ trunk/mcs/errors/CS2015-lib.cs      2005-07-25 10:07:36 UTC (rev 47635)
@@ -0,0 +1,4 @@
+// Compiler options: -t:library
+
+public class B {
+}

Modified: trunk/mcs/errors/Makefile
===================================================================
--- trunk/mcs/errors/Makefile   2005-07-25 09:57:55 UTC (rev 47634)
+++ trunk/mcs/errors/Makefile   2005-07-25 10:07:36 UTC (rev 47635)
@@ -27,7 +27,7 @@
        CS0118-2-lib.dll CS0122-10-lib.dll CS0122-14-lib.dll CS0122-15-lib.dll 
CS0433-lib.dll CS0433-2-lib.dll \
        CS0534-3-lib.dll CS0534-4-lib.dll CS0571-3-lib.dll \
        CS0612-2-lib.dll CS0618-2-lib.dll CS0619-8-lib.dll CS0619-17-lib.dll 
CS0619-32-lib.dll CS0619-33-lib.dll CS0619-36-lib.dll \
-       CS3005-16-lib.dll CS3013-module.dll
+       CS2015-lib.dll CS3005-16-lib.dll CS3013-module.dll
 
 all-local:
 

Added: trunk/mcs/errors/cs0277.cs
===================================================================
--- trunk/mcs/errors/cs0277.cs  2005-07-25 09:57:55 UTC (rev 47634)
+++ trunk/mcs/errors/cs0277.cs  2005-07-25 10:07:36 UTC (rev 47635)
@@ -0,0 +1,15 @@
+// cs0277.cs: Accessor `C.Prop.set' must be declared public to implement 
interface member `I.Prop.set'
+// Line: 10
+
+interface I {
+       decimal Prop { set; }
+}
+
+class C: I {
+       public decimal Prop {
+               internal set {}
+               get {
+                       return 0;
+               }
+       }
+}
\ No newline at end of file

Added: trunk/mcs/errors/cs0536-2.cs
===================================================================
--- trunk/mcs/errors/cs0536-2.cs        2005-07-25 09:57:55 UTC (rev 47634)
+++ trunk/mcs/errors/cs0536-2.cs        2005-07-25 10:07:36 UTC (rev 47635)
@@ -0,0 +1,12 @@
+// cs0536-2.cs: `B' does not implement interface member `I.Test(int)'. 
`B.Test(int)' is either static, not public, or has the wrong return type
+// Line: 11
+
+interface I
+{
+       void Test (int a);
+}
+
+class B: I
+{
+       public static void Test (int a) {}
+}

Added: trunk/mcs/errors/cs2015.cs
===================================================================
--- trunk/mcs/errors/cs2015.cs  2005-07-25 09:57:55 UTC (rev 47634)
+++ trunk/mcs/errors/cs2015.cs  2005-07-25 10:07:36 UTC (rev 47635)
@@ -0,0 +1,8 @@
+// cs2015.cs: Source file `CS2015-lib.dll' is a binary file and not a text file
+// Line: 0
+// Compiler options: CS2015-lib.dll
+
+class C
+{
+       public static void Main () {}
+}

Modified: trunk/mcs/errors/known-issues-gmcs
===================================================================
--- trunk/mcs/errors/known-issues-gmcs  2005-07-25 09:57:55 UTC (rev 47634)
+++ trunk/mcs/errors/known-issues-gmcs  2005-07-25 10:07:36 UTC (rev 47635)
@@ -27,12 +27,14 @@
 cs0266-2.cs NO ERROR
 cs0266-3.cs
 cs0266.cs
+cs0277.cs
 cs0426.cs
 cs0428.cs
 cs0433.cs NO ERROR
 cs0436.cs NO ERROR
 cs0525.cs
 cs0526.cs
+cs0536-2.cs
 cs0547-2.cs # new in GMCS; grammar issue
 cs0547.cs
 cs0548-4.cs
@@ -63,5 +65,6 @@
 cs1641.cs
 cs1666.cs NO ERROR
 cs2007.cs
+cs2015.cs
 gcs0694.cs NO ERROR
 gcs1644-2.cs NO ERROR

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

Reply via email to