summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0642-10.cs
blob: 78d1b389362ca202014017be1c4f9e070babdba7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0642: Possible mistaken empty statement
// Line: 9
// Compiler options: -warnaserror -warn:3 -unsafe -nowarn:0219

public class C
{
    public unsafe void Test ()
    {
        fixed (char *p = str);
            { }
    }

    static readonly char [] str = new char [] {'A'};
}