Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-292.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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) {}
	}
}