[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / tests / test-static-using-03.cs
1 // Compiler options: -langversion:6
2
3 using System;
4 using static A.B.X;
5
6 namespace A.B
7 {
8         static class X
9         {
10                 public static int Test (int o)
11                 {
12                         return 1;
13                 }
14         }
15 }
16
17 namespace A.C
18 {
19         static class X
20         {
21                 public static int Test (int o)
22                 {
23                         return 2;
24                 }
25         }
26 }
27
28 namespace C
29 {
30         using static A.C.X;
31
32         class M
33         {
34                 public static int Main ()
35                 {
36                         if (Test (3) != 2)
37                                 return 1;
38
39                         return 0;
40                 }
41         }
42 }