New test + disabled 2 problematic
[mono.git] / mcs / errors / cs0459-2.cs
1 // CS0459: Cannot take the address of fixed variable `a'\r
2 // Line: 10\r
3 // Compiler options: -unsafe\r
4 \r
5 class C\r
6 {\r
7         static int i;\r
8         \r
9         public static unsafe void Test ()\r
10         {\r
11                 fixed (int* a = &i) {\r
12                         int** x = &a;\r
13                 }\r
14     }\r
15 }\r