Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / test-static-using-04.cs
1 // Compiler options: -langversion:6
2
3 using System;
4
5 namespace A.B
6 {
7         static class X
8         {
9                 public static int Test (object o)
10                 {
11                         return 1;
12                 }
13         }
14 }
15
16 namespace A.C
17 {
18         static class X
19         {
20                 private static int Test (int o)
21                 {
22                         return 2;
23                 }
24         }
25 }
26
27 namespace C
28 {
29         using static A.B.X;
30         using static A.C.X;
31
32         class M
33         {
34                 public static int Main ()
35                 {
36                         if (Test (3) != 1)
37                                 return 1;
38
39                         return 0;
40                 }
41         }
42 }