[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git] / mcs / tests / test-static-using-03.cs
blobc0b7ddb19ab7828672a1d1720d01e75e5b9f9b46
1 // Compiler options: -langversion:6
3 using System;
4 using static A.B.X;
6 namespace A.B
8 static class X
10 public static int Test (int o)
12 return 1;
17 namespace A.C
19 static class X
21 public static int Test (int o)
23 return 2;
28 namespace C
30 using static A.C.X;
32 class M
34 public static int Main ()
36 if (Test (3) != 2)
37 return 1;
39 return 0;