[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / tests / test-652.cs
1 // Compiler options: -unsafe
2
3 using System;
4
5 class C
6 {
7         public static int Main ()
8         {
9                 return Test ();
10         }
11
12         public static unsafe int Test ()
13         {
14                 // Test: Unsafe local variable is initialized to 0
15                 int* v = stackalloc int [5];
16                 Console.WriteLine (v [0]);
17                 return v [0] + v [1] + v [4];
18         }
19 }