2009-02-15 Jonathan Chambers <joncham@gmail.com>
[mcs.git] / errors / cs0247.cs
blob4558366cb0da0a08a30682c8bbaf6bf55246c2cc
1 // cs0247.cs: Cannot use a negative size with stackalloc
2 // Line: 7
3 // Compiler options: -unsafe
5 public class MainClass {
6 static unsafe void Main () {
7 int* ptr = stackalloc int[-1];