a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
17 lines
166 B
C#
17 lines
166 B
C#
// Compiler options: -unsafe
|
|
|
|
struct Foo
|
|
{
|
|
public int i;
|
|
}
|
|
|
|
public unsafe class test
|
|
{
|
|
static Foo* pFoo;
|
|
|
|
public static void Main ()
|
|
{
|
|
int* pi = &pFoo->i;
|
|
}
|
|
}
|