repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git]
/
mcs
/
tests
/
test-556.cs
blob
4b428032bd43d5385f7b2dc228e1ce2f950ed4c6
1
using
System
;
2
using
System
.
Collections
;
3
4
public class
S
5
{
6
public void
Frobnikator
()
7
{
8
const
UInt32 SMALL_MASK
= (
1U
<< (
24
)) -
1
;
9
const ulong
BIG_MASK
=
~
((
ulong
)
SMALL_MASK
);
10
11
}
12
13
public void
CharToX
()
14
{
15
const char
c
=
'a'
;
16
17
const ushort
us
=
c
;
18
const int
i
=
c
;
19
const uint
ui
=
c
;
20
const long
l
=
c
;
21
const ulong
ul
=
c
;
22
const float
fl
=
c
;
23
const double
d
=
c
;
24
const decimal
dec
=
c
;
25
}
26
27
public static int
Main
()
28
{
29
long
i
=
1
;
30
int
i2
=
0xA0
;
31
long
b
=
i
<<
i2
;
32
33
if
(
b
!=
4294967296
)
34
return
1
;
35
36
return
0
;
37
}
38
}