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
[MSBuild] Fixed a test that failed when the GAC wasn't available
[mono-project.git]
/
mono
/
benchmark
/
cmov3.cs
blob
4cfc681b488d503f14d4dc0f1523b0836d3662ef
1
using
System
;
2
class
T
{
3
// test x ? A : B where A and B are constants.
4
static void
Main
() {
5
int
a
=
0
,
b
=
0
,
c
=
0
,
d
=
0
,
e
=
0
;
6
for
(
int
i
=
0
;
i
<
50000000
;
i
++) {
7
a
=
b
==
10
?
1
:
1
;
8
b
=
b
>
1
?
9
:
8
;
9
c
=
b
<=
c
?
1
:
2
;
10
d
=
d
>
0
?
1
:
0
;
11
e
=
e
==
0
? -
1
:
0
;
12
}
13
}
14
}