Fix DateTime.Now and CurrentTimeToUtc during DST transition time (#4172)
[mono-project.git] / mcs / tests / test-940.cs
blobd7c68f0e34de3213c9fedda3f66a5142615e1d46
1 // Compiler options: -unsafe
3 using System;
5 struct nint
7 public static nint operator * (nint a, nint b)
9 return a;
12 public static implicit operator long (nint v)
14 return 0;
18 class X
20 public static void Main ()
22 nint width;
23 nint bytesPerRow;
25 unsafe {
26 var da = (uint*)0;
27 var dp1 = da + width * bytesPerRow;
28 var dp2 = width * bytesPerRow + da;