Take stars out of types where they make more sense.
[mono-project.git] / mcs / tests / test-ref-12.cs
blob786a4162f4f8b796553ccfc5ff7b63b6a167f9b0
1 // Compiler options: -unsafe
3 unsafe class X
5 public static void Main ()
7 void* pointer = null;
8 Bar (ref Foo (ref *(byte*)pointer));
11 static int field;
13 static ref int Foo (ref byte b)
15 return ref field;
18 static void Bar (ref int i)