Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-292.cs
1 // Compiler options: -unsafe
2 // Test for bug #64330: A 'fixed' statement should introduce a scope
3
4 unsafe class X {
5         static int x = 0;
6         public static void Main () {
7                 fixed (void* p = &x) {}
8                 fixed (void* p = &x) {}
9         }
10 }
11