Author: raja
Date: 2005-04-13 06:55:18 -0400 (Wed, 13 Apr 2005)
New Revision: 42900

Added:
   trunk/mcs/errors/cs0208-7.cs
Log:
New test.


Added: trunk/mcs/errors/cs0208-7.cs
===================================================================
--- trunk/mcs/errors/cs0208-7.cs        2005-04-13 10:37:15 UTC (rev 42899)
+++ trunk/mcs/errors/cs0208-7.cs        2005-04-13 10:55:18 UTC (rev 42900)
@@ -0,0 +1,14 @@
+// cs0208: cannot declare a pointer to a managed type ('foo')
+// Line: 11
+// Compiler options: -unsafe
+
+struct foo {
+       public delegate void bar (int x);
+       public bar barf;
+}
+
+unsafe class t {
+       static void Main () {
+               foo *f = null;
+       }
+}

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

Reply via email to