Merge pull request #4419 from BrzVlad/fix-oom-nre
[mono.git] / mcs / tests / test-static-using-01.cs
1 // Compiler options: -langversion:6
2
3 using static A.B.X;
4
5 namespace A.B
6 {
7         static class X
8         {
9                 public static int Test ()
10                 {
11                         return 5;
12                 }
13         }
14 }
15
16 namespace C
17 {
18         class M
19         {
20                 public static int Main ()
21                 {
22                         if (Test () != 5)
23                                 return 1;
24
25                         return 0;
26                 }
27         }
28 }