Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-199.cs
1 public class Test
2 {
3         public static int Main ()
4         {
5                 N1.Foo.Foo2 foo2 = new N1.Foo.Foo2 ();
6                 if (foo2.Talk () != 1)
7                         return 1;
8
9                 return 0;
10         }
11 }
12
13 namespace N1
14 {
15         public class Foo : N2.Bar
16         {
17                 public class Foo2 : Bar2
18                 {
19                 }
20         }
21
22         public class Bar2
23         {
24                 public int Talk ()
25                 {
26                         return 1;
27                 }
28         }
29 }
30
31 namespace N2
32 {
33         public class Bar
34         {
35                 private class Bar2
36                 {
37                         public int Talk ()
38                         {
39                                 return 2;
40                         }
41                 }
42         }
43 }