linux-packaging-mono/mcs/tests/gtest-fixedbuffer-10.cs

28 lines
317 B
C#
Raw Normal View History

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