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;
|
||
|
}
|
||
|
}
|
||
|
}
|