[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / tests / test-931.cs
blob7a1f7be472da3a531b65732ba4908da371b8421a
1 using System;
3 class MainClass
5 public static implicit operator string (MainClass src)
7 return null;
10 public static int Main ()
12 var obj = new MainClass ();
13 var s = "x";
14 var res = (string) obj ?? s;
15 if (res != "x")
16 return 1;
18 return 0;