repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-03-11 Zoltan Varga <vargaz@gmail.com>
[mcs.git]
/
tests
/
test-9.cs
blob
4fd35e3714bf8432b36d548263f25a5517918e1a
1
class
X
{
2
static public int
Main
(
string
[]
args
)
3
{
4
decimal
a
,
b
,
c
,
d
;
5
6
a
=
0
;
7
b
=
1
;
8
c
=
d
=
3
;
9
10
if
(
b
+
b
+
b
!=
c
)
11
return
1
;
12
13
if
(
a
!= (
b
-
1
))
14
return
2
;
15
16
if
(
c
!=
d
)
17
return
3
;
18
19
if
(!(
c
==
d
))
20
return
4
;
21
22
return
0
;
23
}
24
}