In mcs:
[mono.git] / mcs / tests / test-460.cs
diff --git a/mcs/tests/test-460.cs b/mcs/tests/test-460.cs
new file mode 100644 (file)
index 0000000..280cf64
--- /dev/null
@@ -0,0 +1,8 @@
+// Compiler options: -unsafe
+
+unsafe class MainClass {
+       static void *pv = null;
+       static int *pi = (int *) pv;
+        public static void Main () { }
+}
+