2009-10-20 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / test-442.cs
blob44968fe0de1f8ed9cff41b12be3546e6ff090d95
1 // Compiler options: -unsafe
3 using System;
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]);