projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
do not check order sequence if option /order was not used
[mono.git]
/
mcs
/
tests
/
test-556.cs
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
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
}