Updated with review feedback.
[mono.git] / mcs / errors / cs0213-2.cs
1 // CS0213: You cannot use the fixed statement to take the address of an already fixed expression
2 // Line: 9
3 // Compiler options: -unsafe
4
5 unsafe struct S
6 {
7         public void Test ()
8         {
9                 fixed (S* i = null) {
10                 }
11         }
12 }