2010-02-20 Zoltan Varga <vargaz@gmail.com>
[mcs.git] / tests / test-556.cs
blobe9cced721edc44d4a831ea4b8bfee64195663d7e
1 using System;
2 using System.Collections;
4 public class S
6 public void Frobnikator()
8 const UInt32 SMALL_MASK = (1U << (24)) - 1;
9 const ulong BIG_MASK = ~((ulong)SMALL_MASK);
13 public void CharToX ()
15 const char c = 'a';
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;
27 static int Main ()
29 long i = 1;
30 int i2 = 0xA0;
31 long b = i << i2;
33 if (b != 4294967296)
34 return 1;
36 return 0;