repo.or.cz
/
mono-debugger.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>
[mono-debugger.git]
/
mono
/
tests
/
shift.cs
blob
a0a145f660eedd5eff99c1ff9b0063548a95ac68
1
using
System
;
2
3
class
Test
{
4
public static int
Main
() {
5
int
[]
n
=
new int
[
1
];
6
int
b
=
16
;
7
8
n
[
0
] =
100
+ (
1
<< (
16
-
b
));
9
Console
.
WriteLine
(
n
[
0
]);
10
11
if
(
n
[
0
] !=
101
)
12
return
1
;
13
14
return
0
;
15
}
16
}
17