Fix DateTime.Now and CurrentTimeToUtc during DST transition time (#4172)
[mono-project.git] / mcs / tests / test-130.cs
blob34936d62dc7ef4910e43398fd4d768852ca9ee0a
1 //
2 // Check casts.
3 //
4 using System;
6 class X {
8 public const short a = 128;
9 public const int b = 0xffff;
10 public const double c = 123.4;
12 public const long d = 5;
13 // public const int e = 2147483648;
15 public const byte f = 127;
17 public const char c1 = (char) 0xffff;
18 public const char c2 = (char) 123.4;
19 public const char c3 = (char) a;
20 public const char c4 = (char) b;
21 public const char c5 = (char) c;
23 public const short s2 = (short) c;
24 public IntPtr p = (IntPtr) null;
25 public static int Main ()
27 return 0;