blob: 16a3533c35f5827999001dc9179f15a37f6d00e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// cs0255.cs: Cannot use stackalloc in finally or catch
// Line: 12
// Compiler options: -unsafe
unsafe class X {
static void Main ()
{
try {
} catch {
char *ptr = stackalloc char [10];
}
}
}
|