Add support for Windows x64 Full AOT + LLVM + Interpreter on CI. (#15276)
[mono-project.git] / mcs / tests / test-132.cs
blobd72dd97632df89e274eb6d936ced83f09af48dca
1 using System.Reflection;
3 class T {
4 protected internal string s;
5 public static int Main() {
6 FieldInfo f = typeof(T).GetField ("s", BindingFlags.NonPublic|BindingFlags.Instance);
7 if (f == null)
8 return 2;
9 FieldAttributes attrs = f.Attributes;
10 if ((attrs & FieldAttributes.FieldAccessMask) != FieldAttributes.FamORAssem)
11 return 1;
12 return 0;