[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / tests / test-fixed-01.cs
blob4684b0c5a06bebb79644dca1cbe7431113d3a2f4
1 // Compiler options: -unsafe -langversion:latest
3 unsafe class C
5 public static void Main ()
7 fixed (int* p = new Fixable ()) {
8 System.Console.WriteLine (*p);
9 System.Console.WriteLine (p [2]);
13 struct Fixable
15 public ref int GetPinnableReference ()
17 return ref (new int[] { 1, 2, 3 })[0];