[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git] / mcs / tests / test-455.cs
blob617f42d9b07acdffbce842b99a07ce8f04da3e66
1 struct Foo {
2 public int x;
3 public override int GetHashCode ()
5 return base.GetHashCode ();
9 class Test {
10 public static void Main ()
12 Foo foo = new Foo ();
13 System.Console.WriteLine (foo.GetHashCode ());