2009-07-16 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / test-292.cs
blobc67fec01e2955a5df322b69014016d1db8c29180
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 static void Main () {
7 fixed (void* p = &x) {}
8 fixed (void* p = &x) {}