projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Wed Oct 17 13:24:33 CEST 2007 Paolo Molaro <lupus@ximian.com>
[mono.git]
/
mcs
/
errors
/
cs1656-2.cs
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