summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0214-14.cs
blob: a8d563c0ae5b20e3c3337beba752a6fc89a8ace2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0214: Pointers and fixed size buffers may only be used in an unsafe context
// Line: 11
// Compiler options: -unsafe

public class C
{
	unsafe int* i;
	
	public static void Main ()
	{
		var v = new C().i;
	}
}