xxxxxxxxxx
:
ref int identity(return ref int x)
{
return x; // pass-through function that does nothing
}
ref int fun(return int x)
{
return identity(x); // escape the address of a parameter
}
void main()
{
int i;
int j = fun(i);
}