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
[mcs] Fixes parsing tuple name inside generic type in method header block
[mono-project.git]
/
mono
/
benchmark
/
vt2.cs
blob
295e7249e27dff87d9b6692de86c40166b7d0b3c
1
using
System
;
2
3
public struct
A
{
4
public int
a
;
5
static int
Main
()
6
{
7
A a
=
new
A
();
8
A b
=
new
A
();
9
10
for
(
int
i
=
0
;
i
<
50000000
;
i
++) {
11
a
.
a
=
i
;
12
b
.
a
=
i
+
5
;
13
14
a
.
a
=
Foo
(
a
,
b
);
15
b
.
a
=
a
.
a
+
8
;
16
17
Foo
(
a
,
b
);
18
}
19
20
return
0
;
21
}
22
23
static int
Foo
(
A a
,
A b
) {
24
return
a
.
a
+
b
.
a
;
25
}
26
}