Warnings cleanup
[mcs.git] / errors / cs0459-2.cs
blob1a3d27e6a71935bbd2dd85247225c10b13a244af
1 // CS0459: Cannot take the address of fixed variable `a'
2 // Line: 10
3 // Compiler options: -unsafe
5 class C
7 static int i;
9 public static unsafe void Test ()
11 fixed (int* a = &i) {
12 int** x = &a;