a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
17 lines
204 B
C#
17 lines
204 B
C#
// Compiler options: -unsafe
|
|
|
|
public unsafe struct B {
|
|
private fixed int a[5];
|
|
}
|
|
|
|
public unsafe class C {
|
|
private B x;
|
|
|
|
public void Goo() {
|
|
fixed(B* y=&x) {
|
|
}
|
|
}
|
|
|
|
public static void Main () {}
|
|
}
|