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