Updated.
[mono.git] / mcs / errors / cs1540-5.cs
1 class A {
2         protected int n = 0;
3 }
4
5 class B : A { }
6
7 class C : B {
8         class N {
9                 static internal int foo (B b) { return b.n; }
10         }
11         public static int Main () {
12                 return N.foo (new B ());
13         }
14 }