Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-132.cs
1 using System.Reflection;
2
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;
13         }
14 }