Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2004-05-25 16:43:41 +0400
committerMarek Safar <marek.safar@gmail.com>2004-05-25 16:43:41 +0400
commitff7f9b6e20e175850ca3e5fc11c8517072d35388 (patch)
treeb34a1417a9cf6334c8262b31562002e952607fb6 /mcs/errors/cs0214-4.cs
parentc9457011760678365d5ee7a8c8d3c4eadfdbd2ff (diff)
New test
svn path=/trunk/mcs/; revision=28040
Diffstat (limited to 'mcs/errors/cs0214-4.cs')
-rw-r--r--mcs/errors/cs0214-4.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/mcs/errors/cs0214-4.cs b/mcs/errors/cs0214-4.cs
new file mode 100644
index 00000000000..e323bf258cc
--- /dev/null
+++ b/mcs/errors/cs0214-4.cs
@@ -0,0 +1,10 @@
+// cs0214: Pointer can only be used in unsafe context
+// Line: 8
+// Compiler options: -unsafe
+
+class X {
+ public void a ()
+ {
+ void *p;
+ }
+}