[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / tests / test-821.cs
blobcef7b42fdb6ed3e1b25c762f26915196b320194c
1 // Compiler options: -unsafe
3 unsafe struct S
5 T Test<T> ()
7 return default (T);
10 public void M ()
12 fixed (S* ptr = &this)
13 ptr->Test<string> ();
17 class A
19 public static int Main ()
21 new S ().M ();
22 return 0;