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
2008-09-29 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
cs1656-2.cs
blob
5bf39e862c339891082e94942904a97092790390
1
// cs1656-2.cs: Cannot assign to `p' because it is a `fixed variable'
2
// Line: 10
3
// Compiler options: -unsafe
4
5
unsafe class
X
{
6
7
static int
x
=
0
;
8
static void
Main
() {
9
fixed
(
int
*
p
= &
x
) {
10
p
= (
int
*)
22
;
11
}
12
}
13
}
14