summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0459-2.cs
blob: 6da05782c2acf468952303eca3f3b131ba1bae63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0459: Cannot take the address of fixed variable `a'
// Line: 10
// Compiler options: -unsafe

class C
{
	static int i;
	
	public static unsafe void Test ()
	{
		fixed (int* a = &i) {
			int** x = &a;
		}
    }
}