projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2002-02-25 Ravi Pratap <ravi@ximian.com>
[mono.git]
/
mcs
/
tests
/
test-8.cs
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
}