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
Fix a bunch of data races.
[mono-project.git]
/
mono
/
benchmark
/
boxtest.cs
blob
cde46ca3cdee462775e0c80abc772224559c5835
1
using
System
;
2
3
4
public class
Test
{
5
6
public static int
Main
(
string
[]
args
) {
7
object
x
=
null
;
8
9
for
(
int
i
=
0
;
i
<
5000000
;
i
++) {
10
x
=
i
;
11
}
12
13
int
j
= (
int
)
x
;
14
15
return
0
;
16
}
17
}
18
19