a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
12 lines
223 B
C#
12 lines
223 B
C#
// 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) {}
|
|
}
|
|
}
|
|
|