[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git] / mcs / tests / test-ex-filter-01.cs
blobc01c35c8fd86c468ff7fb4d93397a9099f9c0714
1 using System;
3 class X
5 public static int Main ()
7 int x = 4;
8 try {
9 throw null;
10 } catch (NullReferenceException) when (x > 0) {
11 Console.WriteLine ("catch");
12 return 0;