[mono/tests] Fix out of tree build.
[mono-project.git] / mcs / tests / test-static-using-02.cs
blob83c5636a1ad069f0841806f5dbfb7eee53e35a83
1 // Compiler options: -langversion:6
3 using System;
5 namespace A.B
7 static class X
9 public static int Test (object o)
11 return 1;
16 namespace A.C
18 static class X
20 public static int Test (int o)
22 return 2;
27 namespace C
29 using static A.B.X;
30 using static A.C.X;
32 class M
34 public static int Main ()
36 if (Test (3) != 2)
37 return 1;
39 return 0;