blob: 34bd458024bb951ea574fd615fec67572eaafb32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// Compiler options: -unsafe
// Test for bug #64330: A 'fixed' statement should introduce a scope
unsafe class X {
static int x = 0;
public static void Main () {
fixed (void* p = &x) {}
fixed (void* p = &x) {}
}
}
|