2004-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / errors / cs0242.cs
index 2a927d86b6ea0448113ba9cc2cd5319774ae7d73..494e3b7d0a0c248705897096c04e9a97b0a4205b 100755 (executable)
@@ -1,11 +1,13 @@
 // cs0242: operation is not defined for void *
-// Line: 8
+// Line: 10
+// Compiler options: -unsafe
 using System;
+
 unsafe class ZZ {
        static void Main () {
                void *p = null;
 
                if (p [10] == 4)
-                       ;
+                       return;
        }
 }