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

cs0208-7.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: add42d005af6d4d74749bda3e7db82a901d37026 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// cs0208: cannot declare a pointer to a managed type ('foo')
// Line: 11
// Compiler options: -unsafe

struct foo {
	public delegate void bar (int x);
	public bar barf;
}

unsafe class t {
	static void Main () {
		foo *f = null;
	}
}