[mono/tests] Fix out of tree build.
[mono-project.git] / mcs / tests / test-808.cs
blob3ac207dde5c0d805326967a44e98205d9a93df98
1 // Compiler options: -unsafe
3 using System;
5 unsafe class Program
7 unsafe public static int Main ()
9 float* to = stackalloc float[2];
10 to[0] = to[1] = float.MaxValue;
11 if (to[0] != float.MaxValue)
12 return 1;
14 if (to[1] != float.MaxValue)
15 return 2;
17 return 0;