Merge pull request #3442 from lateralusX/jlorenss/win-atexit-commands
[mono.git] / mcs / errors / cs0247.cs
1 // CS0247: Cannot use a negative size with stackalloc
2 // Line: 7
3 // Compiler options: -unsafe
4
5 public class MainClass {
6         static unsafe void Main () {
7                 int* ptr = stackalloc int[-1];
8         }
9 }
10
11