Take stars out of types where they make more sense.
[mono-project.git] / mcs / tests / gtest-588.cs
blobefbc67e5f9194c3d45cde8bc35272e4f51d652d9
1 using System;
3 struct S
5 public static implicit operator short? (S s)
7 return 0;
10 public static implicit operator short (S s)
12 throw new ApplicationException ();
16 class Program
18 public static int Main ()
20 S? s = null;
21 S? s2 = new S ();
23 long? i = s;
24 if (i != null)
25 return 1;
27 double? ui = s2;
28 if (ui == null)
29 return 2;
31 return 0;