projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2004-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git]
/
mcs
/
errors
/
cs0242.cs
diff --git
a/mcs/errors/cs0242.cs
b/mcs/errors/cs0242.cs
index 2a927d86b6ea0448113ba9cc2cd5319774ae7d73..494e3b7d0a0c248705897096c04e9a97b0a4205b 100755
(executable)
--- a/
mcs/errors/cs0242.cs
+++ b/
mcs/errors/cs0242.cs
@@
-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
;
}
}