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
2010-04-15 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
cs0459-2.cs
blob
1a3d27e6a71935bbd2dd85247225c10b13a244af
1
// CS0459: Cannot take the address of fixed variable `a'
2
// Line: 10
3
// Compiler options: -unsafe
4
5
class
C
6
{
7
static int
i
;
8
9
public static unsafe void
Test
()
10
{
11
fixed
(
int
*
a
= &
i
) {
12
int
**
x
= &
a
;
13
}
14
}
15
}