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

cs0193.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ad22f1856be87db3a4612cf1702a9fb88da9f8f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// cs0193.cs: * or -> operator can only be applied to pointer types.
// Line: 9
// Compiler options: -unsafe

unsafe class X {
	static void Main ()
	{
		int a = 0;
		if (*a == 0)
			return 1;
		
		return 0;
	}
}