[mcs] Implements C# 7.2 readonly structs
[mono.git] / mcs / tests / test-readonly-01.cs
1 // Compiler options: -langversion:latest
2
3 using System;
4
5 readonly struct S
6 {
7         readonly int field;
8
9         static int sf;
10         static event Action e;
11         static int Prop { get; set; }
12
13         public static void Main ()
14         {
15         }
16 }