Author: marek
Date: 2007-11-08 10:59:13 -0500 (Thu, 08 Nov 2007)
New Revision: 89205
Added:
trunk/mcs/errors/cs0677-2.cs
trunk/mcs/errors/gcs0677-2.cs
trunk/mcs/errors/gcs0677.cs
Log:
New tests.
Added: trunk/mcs/errors/cs0677-2.cs
===================================================================
--- trunk/mcs/errors/cs0677-2.cs 2007-11-08 15:58:58 UTC (rev 89204)
+++ trunk/mcs/errors/cs0677-2.cs 2007-11-08 15:59:13 UTC (rev 89205)
@@ -0,0 +1,7 @@
+// CS0677: `X.d': A volatile field cannot be of the type `double'
+// Line: 6
+
+class X
+{
+ public volatile double d;
+}
Property changes on: trunk/mcs/errors/cs0677-2.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added: trunk/mcs/errors/gcs0677-2.cs
===================================================================
--- trunk/mcs/errors/gcs0677-2.cs 2007-11-08 15:58:58 UTC (rev 89204)
+++ trunk/mcs/errors/gcs0677-2.cs 2007-11-08 15:59:13 UTC (rev 89205)
@@ -0,0 +1,7 @@
+// CS0677: `C<T>.t': A volatile field cannot be of the type `T'
+// Line: 8
+
+public class C<T>
+{
+ volatile T t;
+}
Property changes on: trunk/mcs/errors/gcs0677-2.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added: trunk/mcs/errors/gcs0677.cs
===================================================================
--- trunk/mcs/errors/gcs0677.cs 2007-11-08 15:58:58 UTC (rev 89204)
+++ trunk/mcs/errors/gcs0677.cs 2007-11-08 15:59:13 UTC (rev 89205)
@@ -0,0 +1,7 @@
+// CS0677: `C<T>.t': A volatile field cannot be of the type `T'
+// Line: 8
+
+public class C<T> where T : struct
+{
+ volatile T t;
+}
Property changes on: trunk/mcs/errors/gcs0677.cs
___________________________________________________________________
Name: svn:eol-style
+ native
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches