repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Take stars out of types where they make more sense.
[mono-project.git]
/
mcs
/
tests
/
test-ref-12.cs
blob
786a4162f4f8b796553ccfc5ff7b63b6a167f9b0
1
// Compiler options: -unsafe
2
3
unsafe class
X
4
{
5
public static void
Main
()
6
{
7
void
*
pointer
=
null
;
8
Bar
(
ref
Foo
(
ref
*(
byte
*)
pointer
));
9
}
10
11
static int
field
;
12
13
static ref int
Foo
(
ref byte
b
)
14
{
15
return ref
field
;
16
}
17
18
static void
Bar
(
ref int
i
)
19
{
20
21
}
22
}