"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / tests / test-static-using-06.cs
blob36bb255b1d3114fe0fe4327eb40ef8a996abdc0f
1 // Compiler options: -langversion:6
3 using System;
4 using static A.B.X;
5 using static A.C.X;
7 namespace A.B
9 static class X
11 public static int Test (object o)
13 return 1;
18 namespace A.C
20 static class X
22 public static int Test<T> (T o)
24 if (typeof (T) != typeof (object))
25 return -1;
27 return 2;
32 namespace C
34 class M
36 public static int Main ()
38 if (Test<object> ("") != 2)
39 return 1;
41 return 0;