a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
28 lines
317 B
C#
28 lines
317 B
C#
// Compiler options: -unsafe
|
|
|
|
using System;
|
|
|
|
public class Program
|
|
{
|
|
public static void Main ()
|
|
{
|
|
new TestStruct ("a");
|
|
}
|
|
}
|
|
|
|
public unsafe struct TestStruct
|
|
{
|
|
private fixed byte symbol[30];
|
|
|
|
public TestStruct (string a)
|
|
{
|
|
}
|
|
|
|
public static TestStruct Default {
|
|
get {
|
|
TestStruct h;
|
|
return h;
|
|
}
|
|
}
|
|
}
|