[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git] / mcs / tests / test-nameof-01.cs
blob019d0770181d9d70e3ee33d26d7d3381a16063da
1 class X
3 public static int Main ()
5 const string s = nameof (X);
6 System.Console.WriteLine (s);
7 if (s != "X")
8 return 1;
10 return 0;