a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
15 lines
204 B
C#
15 lines
204 B
C#
// CS0255: 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];
|
|
}
|
|
}
|
|
}
|