do not check order sequence if option /order was not used
[mono.git] / mcs / tests / test-442.cs
1 // Compiler options: -unsafe
2
3 using System;
4
5 namespace ConsoleApplication1 {
6    class Program {
7        static unsafe void Main(string[] args) {
8            int[] i = new int[] { 10 };
9            fixed (int* p = i) {
10                int*[] q = new int*[] { p };
11                *q[0] = 5;
12                Console.WriteLine(*q[0]);
13            }
14        }
15    }
16 }
17