remove NotWorking
[mcs.git] / tests / test-691.cs
blob8366b3267c4558157c35b75aeb332531ade9999a
1 // Compiler options: -unsafe
3 using System;
5 namespace ConsoleApplication6
7 unsafe class Program
9 static int a;
10 static int* the_ptr = (int*) 0xdeadbeaf;
11 static int** the_pptr = (int**) 0xdeadbeaf;
13 static void Main ()
15 Console.WriteLine ("TEST: {0:x}", new IntPtr (the_pptr).ToInt64 ());
17 fixed (int* a_ptr = &a) {
18 Console.WriteLine (new IntPtr (a_ptr));
20 int*[] array = { the_ptr };
21 int*[] array2 = { a_ptr };
22 int* ptr = the_ptr;
23 int** pptr = the_pptr;
25 fixed (int** pptr2 = &the_ptr) {
26 Console.WriteLine (new IntPtr (pptr));