repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
use MOONLIGHT symbol
[mcs.git]
/
errors
/
cs0242.cs
blob
aa3c570aa26cf2c3360181aaa791e5aa11d74acd
1
// CS0242: The operation in question is undefined on void pointers
2
// Line: 11
3
// Compiler options: -unsafe
4
5
using
System
;
6
7
unsafe class
ZZ
{
8
static void
Main
() {
9
void
*
p
=
null
;
10
11
if
(
p
[
10
] ==
4
)
12
return
;
13
}
14
}
15