[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git] / mcs / tests / test-292.cs
blob34bd458024bb951ea574fd615fec67572eaafb32
1 // Compiler options: -unsafe
2 // Test for bug #64330: A 'fixed' statement should introduce a scope
4 unsafe class X {
5 static int x = 0;
6 public static void Main () {
7 fixed (void* p = &x) {}
8 fixed (void* p = &x) {}