Author: marek
Date: 2007-03-25 07:27:43 -0500 (Sun, 25 Mar 2007)
New Revision: 74954

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

Added: trunk/mcs/errors/gcs0029-4.cs
===================================================================
--- trunk/mcs/errors/gcs0029-4.cs       2007-03-25 10:41:46 UTC (rev 74953)
+++ trunk/mcs/errors/gcs0029-4.cs       2007-03-25 12:27:43 UTC (rev 74954)
@@ -0,0 +1,10 @@
+// CS0029: Cannot implicitly convert type `T' to `int*'
+// Line : 8
+// Compiler options: -unsafe
+
+class T {
+       static unsafe int Main ()
+       {
+               int *a = default(T);
+       }
+}

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

Reply via email to