Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0459-2.cs
1 // CS0459: Cannot take the address of fixed variable `a'
2 // Line: 10
3 // Compiler options: -unsafe
4
5 class C
6 {
7         static int i;
8         
9         public static unsafe void Test ()
10         {
11                 fixed (int* a = &i) {
12                         int** x = &a;
13                 }
14     }
15 }