dlr bug
[mcs.git] / tests / test-689.cs
blob658faa1eb4d454a3312f176d3ad02edc03241695
1 // Compiler options: -unsafe
3 public struct Sample
5 public static unsafe void Foo (byte* a, byte* b)
7 int* p = (int*)0;
8 long* s = (long*) ++p;
9 s = (long*) --p;
11 int v = 0;
12 s = (long*) -v;
13 s = (long*) +v;
15 byte c = (byte)(*a++ * *b++);
18 public static void Main ()
20 int i = (global::System.Int32)1;