[ilasm] Don't break arguments compatiblity
[mono-project.git] / mcs / tests / test-dictinit-04.cs
blob570e77ceec8b13a4b1536a69b6c0b61c037942d8
1 // Compiler options: -unsafe
3 unsafe class C
5 int* X;
7 static int Main()
9 var ptrs = new[] { 0 };
11 fixed (int* p = ptrs) {
12 new C (p) {
13 X = {
14 [0] = 1
19 if (ptrs [0] != 1)
20 return 1;
22 return 0;
25 C (int* x)
27 X = x;