[arm64] Add the full neon regs to the context
[mono.git] / mcs / tests / gtest-468.cs
1 using System;
2
3 public class TS
4 {
5         public int? v { 
6                 get { return (int?) this; }
7         }
8
9         public static implicit operator int? (TS s)
10         {
11                 return 5;
12         }
13
14         public static implicit operator TS (int? date)
15         {
16                 return null;
17         }
18
19         public static int Main ()
20         {
21                 var r = new TS ().v;
22                 if (r != 5)
23                         return 1;
24
25                 return 0;
26         }
27 }