Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / test-440.cs
1 public class A {
2         public static implicit operator double (A a)
3         {
4                 return 0.5;
5         }
6
7         // unlike CS0034 case, two or more implicit conversion on other 
8         // than string is still valid.
9         public static implicit operator int (A a)
10         {
11                 return 0;
12         }
13
14         public static void Main ()
15         {
16                 A a = new A ();
17                 object p = a + a;
18         }
19 }