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
[mono/tests] Fix out of tree build.
[mono-project.git]
/
mcs
/
tests
/
test-58.cs
blob
5b7ba06d62501c7eb2645386d97b72e386419644
1
// Compiler options: -unsafe
2
3
using
System
;
4
using
System
.
Reflection
;
5
6
public class
Blah
{
7
8
public static int
Main
()
9
{
10
unsafe
{
11
int
*
i
;
12
int
foo
=
10
;
13
14
void
*
bar
;
15
16
i
= &
foo
;
17
18
bar
=
i
;
19
20
Console
.
WriteLine
(
"Address :
{0}
"
, (
int
)
i
);
21
}
22
23
return
0
;
24
}
25
}
26
27