summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0214-7.cs
blob: 0884b068741f080401da6e3730a47942393c83fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS0214: Pointers and fixed size buffers may only be used in an unsafe context
// Line: 6
// Compiler options: -unsafe

class Test
{
        public void Main ()
        {
                byte* arr = stackalloc byte [4];
        }
}