Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / test-partial-20.cs
1 using System;
2
3 partial class A
4 {
5 }
6
7 partial class A
8 {
9         public static int F = 3;
10 }
11
12 partial class B
13 {
14         public static int F = 4;        
15 }
16
17 partial class B
18 {
19 }
20
21
22 public class C
23 {
24         public static int Main ()
25         {
26                 if (A.F != 3)
27                         return 1;
28                 
29                 if (B.F != 4)
30                         return 2;
31                 
32                 Console.WriteLine ("OK");
33                 return 0;
34         }
35 }