Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-402.cs
1 // Compiler options: -unsafe
2
3 using System;
4
5 unsafe class X {
6         public static int Main () {
7                 int y = 20;
8                 byte* x = (byte*)0;
9                 x += (long)y;
10                 // x == 20;
11                 return (int)x - 20 * sizeof (byte);
12         }
13 }