2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0255.cs
blob16a3533c35f5827999001dc9179f15a37f6d00e3
1 // cs0255.cs: Cannot use stackalloc in finally or catch
2 // Line: 12
3 // Compiler options: -unsafe
5 unsafe class X {
7 static void Main ()
9 try {
10 } catch {
11 char *ptr = stackalloc char [10];