[runtime] Avoid indirection when building MonoContext on darwin
[mono.git] / mcs / tests / test-681.cs
1 // Compiler options: -unsafe
2
3 static class BugClass
4 {
5         unsafe delegate void Foo (void* dummy);
6         static unsafe void FooImplementation (void* dummy)
7         {
8         }
9         
10         static unsafe Foo Bar = new Foo (FooImplementation);
11 }
12
13 class Bug
14 {
15         unsafe int*[] data = new int*[16];
16         
17         public static void Main ()
18         {
19         }
20 }