using System;
public class Program
{
static void test(Span<int> param)
//Fail, the stackalloc'ed buffer could be exposed.
param = stackalloc int[10];
}
static void test2(Span<int> param)
//OK
Span<int> local = stackalloc int[10];
public static void Main()