a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
20 lines
240 B
C#
20 lines
240 B
C#
// Compiler options: -unsafe
|
|
|
|
unsafe class Test
|
|
{
|
|
static void lowLevelCall (int *pv) { }
|
|
|
|
static void Func (out int i)
|
|
{
|
|
fixed(int *pi = &i)
|
|
lowLevelCall (pi);
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
int i = 0;
|
|
Func (out i);
|
|
}
|
|
}
|
|
|