add ISafeSerializationData
[mcs.git] / tests / test-603.cs
blobc32bfb8b6745f418131f20e7d54cc746a02bd1d3
1 // Compiler options: -unsafe
3 using System;
5 namespace ConsoleApplication1
7 public struct Strct
9 public uint a;
10 public uint b;
13 unsafe class Program
15 static Strct* ptr = null;
17 static int Main ()
19 Strct* values = ptr;
20 values++;
21 values++;
23 long diff = values - ptr;
24 if (diff != 2)
25 return 1;
27 return 0;