Fix bug #566087.
[mcs.git] / tests / test-122.cs
blob27a08e8addec545af2d3d05f694acd95c4a1bfc3
1 //
2 // Tests that a nested class has full access to its container members
3 //
4 // A compile-only test.
5 //
7 class A {
8 private static int X = 0;
10 class B {
11 void Foo ()
13 ++ X;
17 public static int Main ()
19 return 0;