[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git] / mcs / tests / test-402.cs
blob918173f01d092e92e5dda005df7e1574f2d0b4b7
1 // Compiler options: -unsafe
3 using System;
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);