bring Mono Security to monotouch
[mcs.git] / tests / test-281.cs
blob880e602930f7abc4e1d4eb433b12b12b00430396
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 static int Main ()
47 if (Test.Test1.World () != 8)
48 return 1;
49 if (Test.Test2.World () != 9)
50 return 2;
51 return 0;