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
[coop] Refactor/reuse mono_value_box_handle/mono_value_box_checked and reduce raw...
[mono-project.git]
/
mono
/
benchmark
/
vtype1.cs
blob
a6176c0ad5887f733c521a16531bd08aa5d7a356
1
using
System
;
2
3
public struct
TestResult
4
{
5
public
TestResult
(
int
x
) {
6
a
=
x
;
7
}
8
9
public int
a
;
10
}
11
12
public class
Test
13
{
14
static int
Main
()
15
{
16
TestResult x
;
17
18
for
(
int
i
=
0
;
i
<
500000000
;
i
++) {
19
//x = new TestResult(i, 0m);
20
x
=
new
TestResult
(
i
);
21
}
22
23
return
0
;
24
}
25
26
}