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
monotouch uses the real HttpWebRequest
[mcs.git]
/
tests
/
test-200.cs
blob
58b43ea695c91ff290fb4caf757b5b33e8558b70
1
using
System
;
2
3
class
X
4
{
5
public static int
Main
()
6
{
7
int
x
=
7
;
8
int
y
=
2
;
9
10
x
= (
y
+=
3
) +
10
;
11
if
(
y
!=
5
)
12
return
1
;
13
if
(
x
!=
15
)
14
return
2
;
15
16
x
+=
9
;
17
if
(
x
!=
24
)
18
return
3
;
19
20
byte
c
=
3
;
21
byte
d
=
5
;
22
x
=
d ^
=
c
;
23
Console
.
WriteLine
(
x
);
24
25
// Implicit conversion with shift operators
26
short
s
=
5
;
27
int
i
=
30000001
;
28
s
<<=
i
;
29
Console
.
WriteLine
(
s
);
30
Console
.
WriteLine
(
"OK"
);
31
32
return
0
;
33
}
34
}