[runtime] Avoid holding the init lock while calling the cctor in mono_runtime_class_i...
[mono-project.git] / mcs / tests / test-58.cs
blob5b7ba06d62501c7eb2645386d97b72e386419644
1 // Compiler options: -unsafe
3 using System;
4 using System.Reflection;
6 public class Blah {
8 public static int Main ()
10 unsafe {
11 int* i;
12 int foo = 10;
14 void* bar;
16 i = &foo;
18 bar = i;
20 Console.WriteLine ("Address : {0}", (int) i);
23 return 0;