Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / test-732.cs
1 class C
2 {
3         public static explicit operator int (C c)
4         {
5                 return 1;
6         }
7         
8         public static int op_Implicit (C c, bool b)
9         {
10                 return -1;
11         }
12
13         public static int Main ()
14         {
15                 int res = (int) new C ();
16                 if (res != 1)
17                         return 1;
18                 
19                 return 0;
20         }
21 }