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-402.cs
blob
918173f01d092e92e5dda005df7e1574f2d0b4b7
1
// Compiler options: -unsafe
2
3
using
System
;
4
5
unsafe class
X
{
6
public static int
Main
() {
7
int
y
=
20
;
8
byte
*
x
= (
byte
*)
0
;
9
x
+= (
long
)
y
;
10
// x == 20;
11
return
(
int
)
x
-
20
*
sizeof
(
byte
);
12
}
13
}