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: c67fec01e2955a5df322b69014016d1db8c29180 (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;
	static void Main () {
		fixed (void* p = &x) {}
		fixed (void* p = &x) {}
	}
}