linux-packaging-mono/mcs/tests/test-readonly-03.cs

16 lines
185 B
C#
Raw Normal View History

// Compiler options: -langversion:latest
using System;
readonly struct S
{
static S shared = new S ();
public S (int arg)
{
this = shared;
}
public static void Main ()
{
}
}