[configure] Add new target.
[mono-project.git] / mcs / tests / test-281.cs
blob5d1f93e1c43c54408e4a7c96d8d8ab575eb2961c
1 namespace Foo
3 public class Hello
5 public static int World = 8;
9 namespace Bar
11 public class Hello
13 public static int World = 9;
17 namespace Test
19 using Foo;
21 public class Test1
23 public static int World ()
25 return Hello.World;
30 namespace Test
32 using Bar;
34 public class Test2
36 public static int World ()
38 return Hello.World;
43 class X
45 public static int Main ()
47 if (Test.Test1.World () != 8)
48 return 1;
49 if (Test.Test2.World () != 9)
50 return 2;
51 return 0;