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
Warnings cleanup
[mcs.git]
/
tests
/
test-8.cs
blob
5de9804f3417362b665fc6fd160f42b202adefa3
1
class
X
{
2
static public int
Main
(
string
[]
args
)
3
{
4
int
a
,
b
,
c
,
d
;
5
6
a
=
b
=
10
;
7
c
=
d
=
14
;
8
9
if
((
a
+
b
) !=
20
)
10
return
1
;
11
if
((
a
+
d
) !=
24
)
12
return
2
;
13
if
((
c
+
d
) !=
28
)
14
return
3
;
15
if
((
b
+
c
) !=
24
)
16
return
4
;
17
18
if
(
a
++ !=
10
)
19
return
5
;
20
if
(++
a
!=
12
)
21
return
6
;
22
if
(
b
-- !=
10
)
23
return
7
;
24
if
(--
b
!=
8
)
25
return
8
;
26
27
return
0
;
28
}
29
}